#4F57CF#4F57CF

#4F57CF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.183 H 275.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4F57CF
RGBrgb(79, 87, 207)
HSLhsl(236, 57%, 56%)
HSVhsv(236, 62%, 81%)
CMYKcmyk(61.8%, 58%, 0%, 18.8%)
CIE-LABlab(42.74, 33.38, -63.23)
CIE-LCHlch(42.74, 71.50, 297.83°)
OKLaboklab(51.96% 0.0165 -0.1818)
OKLCHoklch(51.96% 0.183 275.2)
XYZxyz(17.8914, 12.9822, 60.5824)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57CF #CFC74F
analogous
#4F97CF #4F57CF #874FCF
triadic
#4F57CF #CF4F57 #57CF4F
tetradic
#4F57CF #CF4F97 #CFC74F #4FCF87
square
#4F57CF #CF4F97 #CFC74F #4FCF87
split-complementary
#4F57CF #CF874F #97CF4F
monochromatic
#232981 #3038B1 #4F57CF #7F85DC #AFB3E9

Accessibility & contrast

On white

5.84
#4F57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4F57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57CF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57CF#FFFFFF#000000##FFFFFF
##4F57CF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f57cf;
/* rgb */ color: rgb(79, 87, 207);
/* oklch */ color: oklch(52.0% 0.183 275.2);
Tailwind
colors: {
  custom: {
    50: '#8d86de',
    500: '#4f57cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f57cf;
$custom-light: #8d86de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57cf",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 236.25,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51963,
    "c": 0.18252,
    "h": 275.2
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#4F57CF
secondary
#D7D4A2
accent
#D747E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F57CF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4F57CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva