#5870CA#5870CA

#5870CA is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.0% C 0.141 H 270.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5870CA
RGBrgb(88, 112, 202)
HSLhsl(227, 52%, 57%)
HSVhsv(227, 56%, 79%)
CMYKcmyk(56.4%, 44.6%, 0%, 20.8%)
CIE-LABlab(49.41, 17.81, -49.59)
CIE-LCHlch(49.41, 52.69, 289.76°)
OKLaboklab(57.03% 0.0005 -0.1412)
OKLCHoklch(57.03% 0.141 270.2)
XYZxyz(20.4758, 17.9258, 58.2467)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870CA #CAB258
analogous
#58A9CA #5870CA #7958CA
triadic
#5870CA #CA5870 #70CA58
tetradic
#5870CA #CA58A9 #CAB258 #58CA79
square
#5870CA #CA58A9 #CAB258 #58CA79
split-complementary
#5870CA #CA7958 #A9CA58
monochromatic
#283B7F #3750AE #5870CA #8698D9 #B5C0E7

Accessibility & contrast

On white

4.58
#5870CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5870CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5870CA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870CA#FFFFFF#000000##000000
##5870CA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#3971C8
Tritanopia (blue-blind)
#0E8493
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5870ca;
/* rgb */ color: rgb(88, 112, 202);
/* oklch */ color: oklch(57.0% 0.141 270.2);
Tailwind
colors: {
  custom: {
    50: '#9098db',
    500: '#5870ca',
    950: '#000000',
  },
}
SCSS
$custom: #5870ca;
$custom-light: #9098db;
$custom-dark: #000000;
JSON
{
  "hex": "#5870ca",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 227.368,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.14119,
    "h": 270.2
  },
  "luminance": 0.17927
}

Semantic roles & 50–950 ramp

primary
#5870CA
secondary
#D6CCA8
accent
#BD4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5870CA

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

Preview Lab → · Contrast checker → · Palette generator →

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