#5857EA#5857EA

#5857EA is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.215 H 276.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5857EA
RGBrgb(88, 87, 234)
HSLhsl(240, 78%, 63%)
HSVhsv(240, 63%, 92%)
CMYKcmyk(62.4%, 62.8%, 0%, 8.2%)
CIE-LABlab(45.40, 43.63, -74.24)
CIE-LCHlch(45.40, 86.11, 300.44°)
OKLaboklab(54.73% 0.0258 -0.2139)
OKLCHoklch(54.73% 0.215 276.9)
XYZxyz(22.2792, 14.8298, 79.5143)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857EA #E9EA57
analogous
#579FEA #5857EA #A157EA
triadic
#5857EA #EA5857 #57EA58
tetradic
#5857EA #EA579F #E9EA57 #57EAA1
square
#5857EA #EA579F #E9EA57 #57EAA1
split-complementary
#5857EA #EAA157 #9FEA57
monochromatic
#1716B1 #2221E3 #5857EA #8E8DF1 #C4C4F8

Accessibility & contrast

On white

5.29
#5857EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5857EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857EA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857EA#FFFFFF#000000##FFFFFF
##5857EA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5857ea;
/* rgb */ color: rgb(88, 87, 234);
/* oklch */ color: oklch(54.7% 0.215 276.9);
Tailwind
colors: {
  custom: {
    50: '#9687f2',
    500: '#5857ea',
    950: '#000000',
  },
}
SCSS
$custom: #5857ea;
$custom-light: #9687f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5857ea",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 240.408,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.21546,
    "h": 276.9
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#5857EA
secondary
#E9E9B4
accent
#DA0BD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5857EA

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

Preview Lab → · Contrast checker → · Palette generator →

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