#5870DD#5870DD

#5870DD is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.168 H 271.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5870DD
RGBrgb(88, 112, 221)
HSLhsl(229, 66%, 61%)
HSVhsv(229, 60%, 87%)
CMYKcmyk(60.2%, 49.3%, 0%, 13.3%)
CIE-LABlab(50.55, 24.12, -58.56)
CIE-LCHlch(50.55, 63.33, 292.39°)
OKLaboklab(58.27% 0.003 -0.1676)
OKLCHoklch(58.27% 0.168 271)
XYZxyz(22.8655, 18.8816, 70.8322)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870DD #DDC558
analogous
#58B2DD #5870DD #8258DD
triadic
#5870DD #DD5870 #70DD58
tetradic
#5870DD #DD58B2 #DDC558 #58DD82
square
#5870DD #DD58B2 #DDC558 #58DD82
split-complementary
#5870DD #DD8258 #B2DD58
monochromatic
#20369B #2A48CE #5870DD #8B9CE7 #BEC7F2

Accessibility & contrast

On white

4.40
#5870DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5870DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5870DD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870DD#FFFFFF#000000##000000
##5870DD1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE1
Deuteranopia (green-blind)
#1A73DB
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5870dd;
/* rgb */ color: rgb(88, 112, 221);
/* oklch */ color: oklch(58.3% 0.168 271.0);
Tailwind
colors: {
  custom: {
    50: '#9298e8',
    500: '#5870dd',
    950: '#000000',
  },
}
SCSS
$custom: #5870dd;
$custom-light: #9298e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5870dd",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 229.173,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.16759,
    "h": 271
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#5870DD
secondary
#E2D9AF
accent
#AD17CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5870DD

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

Preview Lab → · Contrast checker → · Palette generator →

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