#5870DB#5870DB

#5870DB is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.165 H 271.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5870DB
RGBrgb(88, 112, 219)
HSLhsl(229, 65%, 60%)
HSVhsv(229, 60%, 86%)
CMYKcmyk(59.8%, 48.9%, 0%, 14.1%)
CIE-LABlab(50.42, 23.45, -57.63)
CIE-LCHlch(50.42, 62.22, 292.15°)
OKLaboklab(58.14% 0.0028 -0.1648)
OKLCHoklch(58.14% 0.165 271)
XYZxyz(22.6006, 18.7757, 69.4372)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870DB #DBC358
analogous
#58B1DB #5870DB #8258DB
triadic
#5870DB #DB5870 #70DB58
tetradic
#5870DB #DB58B1 #DBC358 #58DB82
square
#5870DB #DB58B1 #DBC358 #58DB82
split-complementary
#5870DB #DB8258 #B1DB58
monochromatic
#213798 #2C49CA #5870DB #8A9BE6 #BDC6F1

Accessibility & contrast

On white

4.42
#5870DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5870DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5870DB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870DB#FFFFFF#000000##000000
##5870DB1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#1F73D9
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5870db;
/* rgb */ color: rgb(88, 112, 219);
/* oklch */ color: oklch(58.1% 0.165 271.0);
Tailwind
colors: {
  custom: {
    50: '#9298e7',
    500: '#5870db',
    950: '#000000',
  },
}
SCSS
$custom: #5870db;
$custom-light: #9298e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5870db",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 229.008,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.16484,
    "h": 271
  },
  "luminance": 0.18778
}

Semantic roles & 50–950 ramp

primary
#5870DB
secondary
#E1D7AE
accent
#AC19CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5870DB

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

Preview Lab → · Contrast checker → · Palette generator →

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