#5857DC#5857DC

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

Color values

HEX#5857DC
RGBrgb(88, 87, 220)
HSLhsl(240, 66%, 60%)
HSVhsv(240, 60%, 86%)
CMYKcmyk(60%, 60.5%, 0%, 13.7%)
CIE-LABlab(44.31, 39.13, -68.08)
CIE-LCHlch(44.31, 78.52, 299.89°)
OKLaboklab(53.59% 0.0266 -0.1958)
OKLCHoklch(53.59% 0.198 277.7)
XYZxyz(20.3468, 14.0569, 69.3373)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857DC #DBDC57
analogous
#5799DC #5857DC #9A57DC
triadic
#5857DC #DC5857 #57DC58
tetradic
#5857DC #DC5799 #DBDC57 #57DC9A
square
#5857DC #DC5799 #DBDC57 #57DC9A
split-complementary
#5857DC #DC9A57 #99DC57
monochromatic
#212099 #2C2ACB #5857DC #8A8AE7 #BDBCF1

Accessibility & contrast

On white

5.51
#5857DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5857DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857DC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857DC#FFFFFF#000000##FFFFFF
##5857DC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5857dc;
/* rgb */ color: rgb(88, 87, 220);
/* oklch */ color: oklch(53.6% 0.198 277.7);
Tailwind
colors: {
  custom: {
    50: '#9486e8',
    500: '#5857dc',
    950: '#000000',
  },
}
SCSS
$custom: #5857dc;
$custom-light: #9486e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5857dc",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 240.451,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.19759,
    "h": 277.7
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5857DC

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

Preview Lab → · Contrast checker → · Palette generator →

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