#5B57EE#5B57EE

#5B57EE is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.220 H 277.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5B57EE
RGBrgb(91, 87, 238)
HSLhsl(242, 82%, 64%)
HSVhsv(242, 63%, 93%)
CMYKcmyk(61.8%, 63.4%, 0%, 6.7%)
CIE-LABlab(45.92, 45.35, -75.63)
CIE-LCHlch(45.92, 88.18, 300.94°)
OKLaboklab(55.26% 0.029 -0.2179)
OKLCHoklch(55.26% 0.22 277.6)
XYZxyz(23.1502, 15.2118, 82.5886)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B57EE #EAEE57
analogous
#579EEE #5B57EE #A657EE
triadic
#5B57EE #EE5B57 #57EE5B
tetradic
#5B57EE #EE579E #EAEE57 #57EEA6
square
#5B57EE #EE579E #EAEE57 #57EEA6
split-complementary
#5B57EE #EEA657 #9EEE57
monochromatic
#1713B8 #251FE8 #5B57EE #918FF4 #C8C6F9

Accessibility & contrast

On white

5.19
#5B57EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5B57EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B57EE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B57EE#FFFFFF#000000##FFFFFF
##5B57EE1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b57ee;
/* rgb */ color: rgb(91, 87, 238);
/* oklch */ color: oklch(55.3% 0.220 277.6);
Tailwind
colors: {
  custom: {
    50: '#9887f5',
    500: '#5b57ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b57ee;
$custom-light: #9887f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b57ee",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 241.589,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55258,
    "c": 0.21983,
    "h": 277.6
  },
  "luminance": 0.15214
}

Semantic roles & 50–950 ramp

primary
#5B57EE
secondary
#EAEBB6
accent
#DE08D8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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