#5870CB#5870CB

#5870CB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.143 H 270.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5870CB
RGBrgb(88, 112, 203)
HSLhsl(227, 53%, 57%)
HSVhsv(227, 57%, 80%)
CMYKcmyk(56.7%, 44.8%, 0%, 20.4%)
CIE-LABlab(49.46, 18.14, -50.07)
CIE-LCHlch(49.46, 53.25, 289.92°)
OKLaboklab(57.1% 0.0007 -0.1426)
OKLCHoklch(57.1% 0.143 270.3)
XYZxyz(20.5946, 17.9733, 58.8723)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870CB #CBB358
analogous
#58AACB #5870CB #7A58CB
triadic
#5870CB #CB5870 #70CB58
tetradic
#5870CB #CB58AA #CBB358 #58CB7A
square
#5870CB #CB58AA #CBB358 #58CB7A
split-complementary
#5870CB #CB7A58 #AACB58
monochromatic
#283B81 #3750AF #5870CB #8798DA #B5C0E8

Accessibility & contrast

On white

4.57
#5870CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5870CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5870CB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870CB#FFFFFF#000000##000000
##5870CB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCE
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#0B8494
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5870cb;
/* rgb */ color: rgb(88, 112, 203);
/* oklch */ color: oklch(57.1% 0.143 270.3);
Tailwind
colors: {
  custom: {
    50: '#9098db',
    500: '#5870cb',
    950: '#000000',
  },
}
SCSS
$custom: #5870cb;
$custom-light: #9098db;
$custom-dark: #000000;
JSON
{
  "hex": "#5870cb",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 227.478,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.1426,
    "h": 270.3
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#5870CB
secondary
#D7CDA8
accent
#BE4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5870CB

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

Preview Lab → · Contrast checker → · Palette generator →

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