#5857E8#5857E8

#5857E8 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.213 H 277.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5857E8
RGBrgb(88, 87, 232)
HSLhsl(240, 76%, 63%)
HSVhsv(240, 63%, 91%)
CMYKcmyk(62.1%, 62.5%, 0%, 9%)
CIE-LABlab(45.24, 42.99, -73.37)
CIE-LCHlch(45.24, 85.04, 300.37°)
OKLaboklab(54.56% 0.0259 -0.2113)
OKLCHoklch(54.56% 0.213 277)
XYZxyz(21.9935, 14.7155, 78.0097)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857E8 #E7E857
analogous
#579EE8 #5857E8 #A157E8
triadic
#5857E8 #E85857 #57E858
tetradic
#5857E8 #E8579E #E7E857 #57E8A1
square
#5857E8 #E8579E #E7E857 #57E8A1
split-complementary
#5857E8 #E8A157 #9EE857
monochromatic
#1918AD #2221E1 #5857E8 #8E8DEF #C3C3F7

Accessibility & contrast

On white

5.33
#5857E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5857E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857E8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857E8#FFFFFF#000000##FFFFFF
##5857E81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5857e8;
/* rgb */ color: rgb(88, 87, 232);
/* oklch */ color: oklch(54.6% 0.213 277.0);
Tailwind
colors: {
  custom: {
    50: '#9687f0',
    500: '#5857e8',
    950: '#000000',
  },
}
SCSS
$custom: #5857e8;
$custom-light: #9687f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5857e8",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 240.414,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54561,
    "c": 0.21293,
    "h": 277
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#5857E8
secondary
#E7E8B3
accent
#D80DD7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5857E8

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

Preview Lab → · Contrast checker → · Palette generator →

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