#5870E9#5870E9

#5870E9 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.184 H 271.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5870E9
RGBrgb(88, 112, 233)
HSLhsl(230, 77%, 63%)
HSVhsv(230, 62%, 91%)
CMYKcmyk(62.2%, 51.9%, 0%, 8.6%)
CIE-LABlab(51.32, 28.14, -64.07)
CIE-LCHlch(51.32, 69.98, 293.71°)
OKLaboklab(59.1% 0.0041 -0.1838)
OKLCHoklch(59.1% 0.184 271.3)
XYZxyz(24.5217, 19.5441, 79.5551)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870E9 #E9D158
analogous
#58B8E9 #5870E9 #8858E9
triadic
#5870E9 #E95870 #70E958
tetradic
#5870E9 #E958B8 #E9D158 #58E988
square
#5870E9 #E958B8 #E9D158 #58E988
split-complementary
#5870E9 #E98858 #B8E958
monochromatic
#1730AF #2242E2 #5870E9 #8E9EF0 #C4CDF7

Accessibility & contrast

On white

4.28
#5870E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5870E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5870E9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870E9#FFFFFF#000000##000000
##5870E91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2581ED
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5870e9;
/* rgb */ color: rgb(88, 112, 233);
/* oklch */ color: oklch(59.1% 0.184 271.3);
Tailwind
colors: {
  custom: {
    50: '#9498f1',
    500: '#5870e9',
    950: '#000000',
  },
}
SCSS
$custom: #5870e9;
$custom-light: #9498f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5870e9",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 233
  },
  "hsl": {
    "h": 230.069,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59098,
    "c": 0.18382,
    "h": 271.3
  },
  "luminance": 0.19546
}

Semantic roles & 50–950 ramp

primary
#5870E9
secondary
#E8E0B4
accent
#B70DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5870E9

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

Preview Lab → · Contrast checker → · Palette generator →

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