#5870DF#5870DF

#5870DF is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.4% C 0.170 H 271.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5870DF
RGBrgb(88, 112, 223)
HSLhsl(229, 68%, 61%)
HSVhsv(229, 61%, 87%)
CMYKcmyk(60.5%, 49.8%, 0%, 12.5%)
CIE-LABlab(50.67, 24.79, -59.48)
CIE-LCHlch(50.67, 64.44, 292.62°)
OKLaboklab(58.41% 0.0032 -0.1703)
OKLCHoklch(58.41% 0.17 271.1)
XYZxyz(23.1335, 18.9889, 72.2439)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870DF #DFC758
analogous
#58B3DF #5870DF #8358DF
triadic
#5870DF #DF5870 #70DF58
tetradic
#5870DF #DF58B3 #DFC758 #58DF83
square
#5870DF #DF58B3 #DFC758 #58DF83
split-complementary
#5870DF #DF8358 #B3DF58
monochromatic
#1E359E #2846D2 #5870DF #8B9CE9 #BFC8F3

Accessibility & contrast

On white

4.38
#5870DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5870DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5870DF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870DF#FFFFFF#000000##000000
##5870DF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#1473DD
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5870df;
/* rgb */ color: rgb(88, 112, 223);
/* oklch */ color: oklch(58.4% 0.170 271.1);
Tailwind
colors: {
  custom: {
    50: '#9398ea',
    500: '#5870df',
    950: '#000000',
  },
}
SCSS
$custom: #5870df;
$custom-light: #9398ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5870df",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 229.333,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.17031,
    "h": 271.1
  },
  "luminance": 0.18991
}

Semantic roles & 50–950 ramp

primary
#5870DF
secondary
#E3DAB0
accent
#AF16D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5870DF

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

Preview Lab → · Contrast checker → · Palette generator →

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