#4F57E1#4F57E1

#4F57E1 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.206 H 274.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4F57E1
RGBrgb(79, 87, 225)
HSLhsl(237, 71%, 60%)
HSVhsv(237, 65%, 88%)
CMYKcmyk(64.9%, 61.3%, 0%, 11.8%)
CIE-LABlab(44.11, 39.39, -71.28)
CIE-LCHlch(44.11, 81.44, 298.92°)
OKLaboklab(53.41% 0.016 -0.2054)
OKLCHoklch(53.41% 0.206 274.5)
XYZxyz(20.2188, 13.9131, 72.8396)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57E1 #E1D94F
analogous
#4FA0E1 #4F57E1 #904FE1
triadic
#4F57E1 #E14F57 #57E14F
tetradic
#4F57E1 #E14FA0 #E1D94F #4FE190
square
#4F57E1 #E14FA0 #E1D94F #4FE190
split-complementary
#4F57E1 #E1904F #A0E14F
monochromatic
#1A219B #232DCF #4F57E1 #8389EA #B8BBF3

Accessibility & contrast

On white

5.55
#4F57E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4F57E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57E1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57E1#FFFFFF#000000##FFFFFF
##4F57E11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f57e1;
/* rgb */ color: rgb(79, 87, 225);
/* oklch */ color: oklch(53.4% 0.206 274.5);
Tailwind
colors: {
  custom: {
    50: '#9086eb',
    500: '#4f57e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f57e1;
$custom-light: #9086eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57e1",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 236.712,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53406,
    "c": 0.20608,
    "h": 274.5
  },
  "luminance": 0.13915
}

Semantic roles & 50–950 ramp

primary
#4F57E1
secondary
#E2DFAA
accent
#E43AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F57E1

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

Preview Lab → · Contrast checker → · Palette generator →

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