#5F57EE#5F57EE

#5F57EE is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.5% C 0.219 H 278.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5F57EE
RGBrgb(95, 87, 238)
HSLhsl(243, 82%, 64%)
HSVhsv(243, 63%, 93%)
CMYKcmyk(60.1%, 63.4%, 0%, 6.7%)
CIE-LABlab(46.20, 45.94, -75.16)
CIE-LCHlch(46.20, 88.09, 301.43°)
OKLaboklab(55.54% 0.0338 -0.2164)
OKLCHoklch(55.54% 0.219 278.9)
XYZxyz(23.5552, 15.4206, 82.6075)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57EE #E6EE57
analogous
#579AEE #5F57EE #AA57EE
triadic
#5F57EE #EE5F57 #57EE5F
tetradic
#5F57EE #EE579A #E6EE57 #57EEAA
square
#5F57EE #EE579A #E6EE57 #57EEAA
split-complementary
#5F57EE #EEAA57 #9AEE57
monochromatic
#1B13B8 #2A1FE8 #5F57EE #948FF4 #C9C6F9

Accessibility & contrast

On white

5.14
#5F57EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5F57EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57EE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57EE#FFFFFF#000000##FFFFFF
##5F57EE1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0067EB
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f57ee;
/* rgb */ color: rgb(95, 87, 238);
/* oklch */ color: oklch(55.5% 0.219 278.9);
Tailwind
colors: {
  custom: {
    50: '#9a87f5',
    500: '#5f57ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f57ee;
$custom-light: #9a87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57ee",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 243.179,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55536,
    "c": 0.21903,
    "h": 278.9
  },
  "luminance": 0.15422
}

Semantic roles & 50–950 ramp

primary
#5F57EE
secondary
#E8EBB6
accent
#DE08D3
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F57EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5F57EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva