#5870CD#5870CD

#5870CD is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.145 H 270.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5870CD
RGBrgb(88, 112, 205)
HSLhsl(228, 54%, 57%)
HSVhsv(228, 57%, 80%)
CMYKcmyk(57.1%, 45.4%, 0%, 19.6%)
CIE-LABlab(49.58, 18.80, -51.02)
CIE-LCHlch(49.58, 54.38, 290.23°)
OKLaboklab(57.22% 0.001 -0.1454)
OKLCHoklch(57.22% 0.145 270.4)
XYZxyz(20.8345, 18.0692, 60.1356)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870CD #CDB558
analogous
#58ABCD #5870CD #7A58CD
triadic
#5870CD #CD5870 #70CD58
tetradic
#5870CD #CD58AB #CDB558 #58CD7A
square
#5870CD #CD58AB #CDB558 #58CD7A
split-complementary
#5870CD #CD7A58 #ABCD58
monochromatic
#273A83 #354FB2 #5870CD #8798DB #B6C1E9

Accessibility & contrast

On white

4.55
#5870CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5870CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5870CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870CD#FFFFFF#000000##000000
##5870CD1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD0
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#038594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5870cd;
/* rgb */ color: rgb(88, 112, 205);
/* oklch */ color: oklch(57.2% 0.145 270.4);
Tailwind
colors: {
  custom: {
    50: '#9098dd',
    500: '#5870cd',
    950: '#000000',
  },
}
SCSS
$custom: #5870cd;
$custom-light: #9098dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5870cd",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 227.692,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57223,
    "c": 0.14541,
    "h": 270.4
  },
  "luminance": 0.18071
}

Semantic roles & 50–950 ramp

primary
#5870CD
secondary
#D8CEA9
accent
#BF4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5870CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5870CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva