#5857DF#5857DF

#5857DF is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.201 H 277.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5857DF
RGBrgb(88, 87, 223)
HSLhsl(240, 68%, 61%)
HSVhsv(240, 61%, 87%)
CMYKcmyk(60.5%, 61%, 0%, 12.5%)
CIE-LABlab(44.54, 40.10, -69.41)
CIE-LCHlch(44.54, 80.16, 300.01°)
OKLaboklab(53.83% 0.0264 -0.1997)
OKLCHoklch(53.83% 0.201 277.5)
XYZxyz(20.7477, 14.2172, 71.4486)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857DF #DEDF57
analogous
#579ADF #5857DF #9C57DF
triadic
#5857DF #DF5857 #57DF58
tetradic
#5857DF #DF579A #DEDF57 #57DF9C
square
#5857DF #DF579A #DEDF57 #57DF9C
split-complementary
#5857DF #DF9C57 #9ADF57
monochromatic
#1F1E9E #2928D1 #5857DF #8B8AE9 #BEBEF3

Accessibility & contrast

On white

5.46
#5857DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5857DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857DF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857DF#FFFFFF#000000##FFFFFF
##5857DF1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5857df;
/* rgb */ color: rgb(88, 87, 223);
/* oklch */ color: oklch(53.8% 0.201 277.5);
Tailwind
colors: {
  custom: {
    50: '#9487ea',
    500: '#5857df',
    950: '#000000',
  },
}
SCSS
$custom: #5857df;
$custom-light: #9487ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5857df",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 240.441,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5383,
    "c": 0.20147,
    "h": 277.5
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#5857DF
secondary
#E2E3AF
accent
#D016CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5857DF

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

Preview Lab → · Contrast checker → · Palette generator →

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