#5857E2#5857E2

#5857E2 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.205 H 277.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5857E2
RGBrgb(88, 87, 226)
HSLhsl(240, 71%, 61%)
HSVhsv(240, 62%, 89%)
CMYKcmyk(61.1%, 61.5%, 0%, 11.4%)
CIE-LABlab(44.77, 41.06, -70.74)
CIE-LCHlch(44.77, 81.79, 300.13°)
OKLaboklab(54.07% 0.0263 -0.2036)
OKLCHoklch(54.07% 0.205 277.4)
XYZxyz(21.1557, 14.3804, 73.5976)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857E2 #E1E257
analogous
#579CE2 #5857E2 #9E57E2
triadic
#5857E2 #E25857 #57E258
tetradic
#5857E2 #E2579C #E1E257 #57E29E
square
#5857E2 #E2579C #E1E257 #57E29E
split-complementary
#5857E2 #E29E57 #9CE257
monochromatic
#1D1CA3 #2625D7 #5857E2 #8C8BEB #C0BFF4

Accessibility & contrast

On white

5.42
#5857E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5857E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857E2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857E2#FFFFFF#000000##FFFFFF
##5857E21.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5857e2;
/* rgb */ color: rgb(88, 87, 226);
/* oklch */ color: oklch(54.1% 0.205 277.4);
Tailwind
colors: {
  custom: {
    50: '#9587ec',
    500: '#5857e2',
    950: '#000000',
  },
}
SCSS
$custom: #5857e2;
$custom-light: #9587ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5857e2",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 240.432,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.20531,
    "h": 277.4
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#5857E2
secondary
#E4E4B0
accent
#D313D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5857E2

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

Preview Lab → · Contrast checker → · Palette generator →

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