#5870E7#5870E7

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

Color values

HEX#5870E7
RGBrgb(88, 112, 231)
HSLhsl(230, 75%, 63%)
HSVhsv(230, 62%, 91%)
CMYKcmyk(61.9%, 51.5%, 0%, 9.4%)
CIE-LABlab(51.19, 27.47, -63.16)
CIE-LCHlch(51.19, 68.87, 293.51°)
OKLaboklab(58.96% 0.0039 -0.1811)
OKLCHoklch(58.96% 0.181 271.2)
XYZxyz(24.2376, 19.4305, 78.0590)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870E7 #E7CF58
analogous
#58B8E7 #5870E7 #8758E7
triadic
#5870E7 #E75870 #70E758
tetradic
#5870E7 #E758B8 #E7CF58 #58E787
square
#5870E7 #E758B8 #E7CF58 #58E787
split-complementary
#5870E7 #E78758 #B8E758
monochromatic
#1931AC #2242DF #5870E7 #8E9EEF #C3CCF6

Accessibility & contrast

On white

4.30
#5870E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5870E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5870E7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870E7#FFFFFF#000000##000000
##5870E71.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EB
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5870e7;
/* rgb */ color: rgb(88, 112, 231);
/* oklch */ color: oklch(59.0% 0.181 271.2);
Tailwind
colors: {
  custom: {
    50: '#9498ef',
    500: '#5870e7',
    950: '#000000',
  },
}
SCSS
$custom: #5870e7;
$custom-light: #9498ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5870e7",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 229.93,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.18114,
    "h": 271.2
  },
  "luminance": 0.19433
}

Semantic roles & 50–950 ramp

primary
#5870E7
secondary
#E7DFB3
accent
#B50ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5870E7

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

Preview Lab → · Contrast checker → · Palette generator →

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