#5857CE#5857CE

#5857CE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.179 H 278.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5857CE
RGBrgb(88, 87, 206)
HSLhsl(241, 55%, 57%)
HSVhsv(241, 58%, 81%)
CMYKcmyk(57.3%, 57.8%, 0%, 19.2%)
CIE-LABlab(43.28, 34.61, -61.74)
CIE-LCHlch(43.28, 70.78, 299.27°)
OKLaboklab(52.5% 0.0269 -0.1772)
OKLCHoklch(52.5% 0.179 278.6)
XYZxyz(18.5697, 13.3460, 59.9781)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857CE #CDCE57
analogous
#5792CE #5857CE #9357CE
triadic
#5857CE #CE5857 #57CE58
tetradic
#5857CE #CE5792 #CDCE57 #57CE93
square
#5857CE #CE5792 #CDCE57 #57CE93
split-complementary
#5857CE #CE9357 #92CE57
monochromatic
#272784 #3534B3 #5857CE #8786DC #B6B6EA

Accessibility & contrast

On white

5.72
#5857CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5857CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857CE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857CE#FFFFFF#000000##FFFFFF
##5857CE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#0F738A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5857ce;
/* rgb */ color: rgb(88, 87, 206);
/* oklch */ color: oklch(52.5% 0.179 278.6);
Tailwind
colors: {
  custom: {
    50: '#9186de',
    500: '#5857ce',
    950: '#000000',
  },
}
SCSS
$custom: #5857ce;
$custom-light: #9186de;
$custom-dark: #000000;
JSON
{
  "hex": "#5857ce",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 240.504,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.1792,
    "h": 278.6
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#5857CE
secondary
#D8D8A8
accent
#DE4ADD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5857CE

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

Preview Lab → · Contrast checker → · Palette generator →

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