#5857E1#5857E1

#5857E1 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.204 H 277.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5857E1
RGBrgb(88, 87, 225)
HSLhsl(240, 70%, 61%)
HSVhsv(240, 61%, 88%)
CMYKcmyk(60.9%, 61.3%, 0%, 11.8%)
CIE-LABlab(44.70, 40.74, -70.30)
CIE-LCHlch(44.70, 81.25, 300.09°)
OKLaboklab(53.99% 0.0263 -0.2023)
OKLCHoklch(53.99% 0.204 277.4)
XYZxyz(21.0189, 14.3257, 72.8771)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857E1 #E0E157
analogous
#579BE1 #5857E1 #9D57E1
triadic
#5857E1 #E15857 #57E158
tetradic
#5857E1 #E1579B #E0E157 #57E19D
square
#5857E1 #E1579B #E0E157 #57E19D
split-complementary
#5857E1 #E19D57 #9BE157
monochromatic
#1E1DA1 #2726D5 #5857E1 #8C8BEA #BFBFF4

Accessibility & contrast

On white

5.43
#5857E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5857E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857E1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857E1#FFFFFF#000000##FFFFFF
##5857E11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5857e1;
/* rgb */ color: rgb(88, 87, 225);
/* oklch */ color: oklch(54.0% 0.204 277.4);
Tailwind
colors: {
  custom: {
    50: '#9587eb',
    500: '#5857e1',
    950: '#000000',
  },
}
SCSS
$custom: #5857e1;
$custom-light: #9587eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5857e1",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 240.435,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.20404,
    "h": 277.4
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#5857E1
secondary
#E3E4B0
accent
#D214D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5857E1

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

Preview Lab → · Contrast checker → · Palette generator →

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