#5870FE#5870FE

#5870FE is a mid, highly saturated blue. Relative luminance 0.208; OKLCH L 60.6% C 0.211 H 271.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5870FE
RGBrgb(88, 112, 254)
HSLhsl(231, 99%, 67%)
HSVhsv(231, 65%, 100%)
CMYKcmyk(65.4%, 55.9%, 0%, 0.4%)
CIE-LABlab(52.75, 35.18, -73.45)
CIE-LCHlch(52.75, 81.44, 295.59°)
OKLaboklab(60.62% 0.0051 -0.2114)
OKLCHoklch(60.62% 0.211 271.4)
XYZxyz(27.7020, 20.8163, 96.3048)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870FE #FEE658
analogous
#58C3FE #5870FE #9358FE
triadic
#5870FE #FE5870 #70FE58
tetradic
#5870FE #FE58C3 #FEE658 #58FE93
square
#5870FE #FE58C3 #FEE658 #58FE93
split-complementary
#5870FE #FE9358 #C3FE58
monochromatic
#0121DA #1B3CFE #5870FE #95A4FE #D2D8FF

Accessibility & contrast

On white

4.07
#5870FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5870FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5870FE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870FE#FFFFFF#000000##000000
##5870FE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#0092AC
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5870fe;
/* rgb */ color: rgb(88, 112, 254);
/* oklch */ color: oklch(60.6% 0.211 271.4);
Tailwind
colors: {
  custom: {
    50: '#9898ff',
    500: '#5870fe',
    950: '#000000',
  },
}
SCSS
$custom: #5870fe;
$custom-light: #9898ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5870fe",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 231.325,
    "s": 98.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.21143,
    "h": 271.4
  },
  "luminance": 0.20819
}

Semantic roles & 50–950 ramp

primary
#5870FE
secondary
#F3ECBF
accent
#C400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #5870FE

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

Preview Lab → · Contrast checker → · Palette generator →

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