#5857EC#5857EC

#5857EC is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.218 H 276.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5857EC
RGBrgb(88, 87, 236)
HSLhsl(240, 80%, 63%)
HSVhsv(240, 63%, 93%)
CMYKcmyk(62.7%, 63.1%, 0%, 7.5%)
CIE-LABlab(45.56, 44.27, -75.11)
CIE-LCHlch(45.56, 87.19, 300.52°)
OKLaboklab(54.89% 0.0256 -0.2164)
OKLCHoklch(54.89% 0.218 276.8)
XYZxyz(22.5681, 14.9454, 81.0361)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857EC #EBEC57
analogous
#57A0EC #5857EC #A257EC
triadic
#5857EC #EC5857 #57EC58
tetradic
#5857EC #EC57A0 #EBEC57 #57ECA2
square
#5857EC #EC57A0 #EBEC57 #57ECA2
split-complementary
#5857EC #ECA257 #A0EC57
monochromatic
#1514B4 #2120E6 #5857EC #8F8EF2 #C5C5F8

Accessibility & contrast

On white

5.26
#5857EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5857EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857EC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857EC#FFFFFF#000000##FFFFFF
##5857EC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5857ec;
/* rgb */ color: rgb(88, 87, 236);
/* oklch */ color: oklch(54.9% 0.218 276.8);
Tailwind
colors: {
  custom: {
    50: '#9687f3',
    500: '#5857ec',
    950: '#000000',
  },
}
SCSS
$custom: #5857ec;
$custom-light: #9687f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5857ec",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 240.403,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54891,
    "c": 0.21796,
    "h": 276.8
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#5857EC
secondary
#EAEAB5
accent
#DC0ADB
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5857EC

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

Preview Lab → · Contrast checker → · Palette generator →

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