#5857D9#5857D9

#5857D9 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.4% C 0.194 H 277.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5857D9
RGBrgb(88, 87, 217)
HSLhsl(240, 63%, 60%)
HSVhsv(240, 60%, 85%)
CMYKcmyk(59.4%, 59.9%, 0%, 14.9%)
CIE-LABlab(44.09, 38.16, -66.73)
CIE-LCHlch(44.09, 76.87, 299.76°)
OKLaboklab(53.35% 0.0267 -0.1919)
OKLCHoklch(53.35% 0.194 277.9)
XYZxyz(19.9531, 13.8994, 67.2636)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857D9 #D8D957
analogous
#5797D9 #5857D9 #9957D9
triadic
#5857D9 #D95857 #57D958
tetradic
#5857D9 #D95797 #D8D957 #57D999
square
#5857D9 #D95797 #D8D957 #57D999
split-complementary
#5857D9 #D99957 #97D957
monochromatic
#222194 #2E2DC6 #5857D9 #8A89E4 #BBBBF0

Accessibility & contrast

On white

5.56
#5857D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5857D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857D9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857D9#FFFFFF#000000##FFFFFF
##5857D91.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5857d9;
/* rgb */ color: rgb(88, 87, 217);
/* oklch */ color: oklch(53.4% 0.194 277.9);
Tailwind
colors: {
  custom: {
    50: '#9386e6',
    500: '#5857d9',
    950: '#000000',
  },
}
SCSS
$custom: #5857d9;
$custom-light: #9386e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5857d9",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 240.462,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53353,
    "c": 0.19371,
    "h": 277.9
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#5857D9
secondary
#DFDFAD
accent
#E642E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5857D9

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

Preview Lab → · Contrast checker → · Palette generator →

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