#5857DD#5857DD

#5857DD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.7% C 0.199 H 277.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5857DD
RGBrgb(88, 87, 221)
HSLhsl(240, 66%, 60%)
HSVhsv(240, 61%, 87%)
CMYKcmyk(60.2%, 60.6%, 0%, 13.3%)
CIE-LABlab(44.39, 39.45, -68.52)
CIE-LCHlch(44.39, 79.07, 299.93°)
OKLaboklab(53.67% 0.0265 -0.1971)
OKLCHoklch(53.67% 0.199 277.7)
XYZxyz(20.4796, 14.1100, 70.0369)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857DD #DCDD57
analogous
#5799DD #5857DD #9B57DD
triadic
#5857DD #DD5857 #57DD58
tetradic
#5857DD #DD5799 #DCDD57 #57DD9B
square
#5857DD #DD5799 #DCDD57 #57DD9B
split-complementary
#5857DD #DD9B57 #99DD57
monochromatic
#201F9A #2B2ACD #5857DD #8B8AE7 #BDBDF2

Accessibility & contrast

On white

5.49
#5857DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5857DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857DD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857DD#FFFFFF#000000##FFFFFF
##5857DD1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5857dd;
/* rgb */ color: rgb(88, 87, 221);
/* oklch */ color: oklch(53.7% 0.199 277.7);
Tailwind
colors: {
  custom: {
    50: '#9487e9',
    500: '#5857dd',
    950: '#000000',
  },
}
SCSS
$custom: #5857dd;
$custom-light: #9487e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5857dd",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 240.448,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.19889,
    "h": 277.7
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#5857DD
secondary
#E1E1AE
accent
#CE17CD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5857DD

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

Preview Lab → · Contrast checker → · Palette generator →

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