#5870E6#5870E6

#5870E6 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.180 H 271.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5870E6
RGBrgb(88, 112, 230)
HSLhsl(230, 74%, 62%)
HSVhsv(230, 62%, 90%)
CMYKcmyk(61.7%, 51.3%, 0%, 9.8%)
CIE-LABlab(51.12, 27.13, -62.70)
CIE-LCHlch(51.12, 68.32, 293.40°)
OKLaboklab(58.89% 0.0038 -0.1797)
OKLCHoklch(58.89% 0.18 271.2)
XYZxyz(24.0968, 19.3742, 77.3173)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870E6 #E6CE58
analogous
#58B7E6 #5870E6 #8758E6
triadic
#5870E6 #E65870 #70E658
tetradic
#5870E6 #E658B7 #E6CE58 #58E687
square
#5870E6 #E658B7 #E6CE58 #58E687
split-complementary
#5870E6 #E68758 #B7E658
monochromatic
#1932AA #2342DE #5870E6 #8D9EEE #C2CBF6

Accessibility & contrast

On white

4.31
#5870E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5870E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5870E6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870E6#FFFFFF#000000##000000
##5870E61.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80EA
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5870e6;
/* rgb */ color: rgb(88, 112, 230);
/* oklch */ color: oklch(58.9% 0.180 271.2);
Tailwind
colors: {
  custom: {
    50: '#9498ef',
    500: '#5870e6',
    950: '#000000',
  },
}
SCSS
$custom: #5870e6;
$custom-light: #9498ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5870e6",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 229.859,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58888,
    "c": 0.17979,
    "h": 271.2
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

primary
#5870E6
secondary
#E7DEB3
accent
#B50FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5870E6

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

Preview Lab → · Contrast checker → · Palette generator →

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