#4F57D1#4F57D1

#4F57D1 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.185 H 275.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4F57D1
RGBrgb(79, 87, 209)
HSLhsl(236, 59%, 56%)
HSVhsv(236, 62%, 82%)
CMYKcmyk(62.2%, 58.4%, 0%, 18%)
CIE-LABlab(42.88, 34.05, -64.14)
CIE-LCHlch(42.88, 72.61, 297.96°)
OKLaboklab(52.12% 0.0165 -0.1845)
OKLCHoklch(52.12% 0.185 275.1)
XYZxyz(18.1375, 13.0806, 61.8782)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57D1 #D1C94F
analogous
#4F98D1 #4F57D1 #884FD1
triadic
#4F57D1 #D14F57 #57D14F
tetradic
#4F57D1 #D14F98 #D1C94F #4FD188
square
#4F57D1 #D14F98 #D1C94F #4FD188
split-complementary
#4F57D1 #D1884F #98D14F
monochromatic
#222883 #2F37B4 #4F57D1 #8085DE #B0B4EA

Accessibility & contrast

On white

5.81
#4F57D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4F57D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57D1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57D1#FFFFFF#000000##FFFFFF
##4F57D11.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f57d1;
/* rgb */ color: rgb(79, 87, 209);
/* oklch */ color: oklch(52.1% 0.185 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d86e0',
    500: '#4f57d1',
    950: '#000000',
  },
}
SCSS
$custom: #4f57d1;
$custom-light: #8d86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57d1",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 209
  },
  "hsl": {
    "h": 236.308,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.18519,
    "h": 275.1
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#4F57D1
secondary
#D9D5A3
accent
#D846E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F57D1

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

Preview Lab → · Contrast checker → · Palette generator →

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