#5857EE#5857EE

#5857EE is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.220 H 276.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5857EE
RGBrgb(88, 87, 238)
HSLhsl(240, 82%, 64%)
HSVhsv(240, 63%, 93%)
CMYKcmyk(63%, 63.4%, 0%, 6.7%)
CIE-LABlab(45.72, 44.91, -75.97)
CIE-LCHlch(45.72, 88.26, 300.59°)
OKLaboklab(55.06% 0.0255 -0.219)
OKLCHoklch(55.06% 0.22 276.6)
XYZxyz(22.8603, 15.0623, 82.5750)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857EE #EDEE57
analogous
#57A1EE #5857EE #A357EE
triadic
#5857EE #EE5857 #57EE58
tetradic
#5857EE #EE57A1 #EDEE57 #57EEA3
square
#5857EE #EE57A1 #EDEE57 #57EEA3
split-complementary
#5857EE #EEA357 #A1EE57
monochromatic
#1413B8 #211FE8 #5857EE #8F8FF4 #C6C6F9

Accessibility & contrast

On white

5.23
#5857EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5857EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857EE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857EE#FFFFFF#000000##FFFFFF
##5857EE1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5857ee;
/* rgb */ color: rgb(88, 87, 238);
/* oklch */ color: oklch(55.1% 0.220 276.6);
Tailwind
colors: {
  custom: {
    50: '#9787f5',
    500: '#5857ee',
    950: '#000000',
  },
}
SCSS
$custom: #5857ee;
$custom-light: #9787f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5857ee",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 240.397,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55057,
    "c": 0.22047,
    "h": 276.6
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#5857EE
secondary
#EBEBB6
accent
#DE08DD
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5857EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5857EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva