#5857EF#5857EF

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

Color values

HEX#5857EF
RGBrgb(88, 87, 239)
HSLhsl(240, 83%, 64%)
HSVhsv(240, 64%, 94%)
CMYKcmyk(63.2%, 63.6%, 0%, 6.3%)
CIE-LABlab(45.80, 45.23, -76.40)
CIE-LCHlch(45.80, 88.79, 300.63°)
OKLaboklab(55.14% 0.0254 -0.2202)
OKLCHoklch(55.14% 0.222 276.6)
XYZxyz(23.0076, 15.1212, 83.3508)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857EF #EEEF57
analogous
#57A2EF #5857EF #A457EF
triadic
#5857EF #EF5857 #57EF58
tetradic
#5857EF #EF57A2 #EEEF57 #57EFA4
square
#5857EF #EF57A2 #EEEF57 #57EFA4
split-complementary
#5857EF #EFA457 #A2EF57
monochromatic
#1312BA #201FEA #5857EF #908FF4 #C7C7FA

Accessibility & contrast

On white

5.22
#5857EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5857EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857EF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857EF#FFFFFF#000000##FFFFFF
##5857EF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5857ef;
/* rgb */ color: rgb(88, 87, 239);
/* oklch */ color: oklch(55.1% 0.222 276.6);
Tailwind
colors: {
  custom: {
    50: '#9787f5',
    500: '#5857ef',
    950: '#000000',
  },
}
SCSS
$custom: #5857ef;
$custom-light: #9787f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5857ef",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 240.395,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55141,
    "c": 0.22171,
    "h": 276.6
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#5857EF
secondary
#EBECB6
accent
#DF06DE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5857EF

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

Preview Lab → · Contrast checker → · Palette generator →

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