#5870C8#5870C8

#5870C8 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.138 H 270.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5870C8
RGBrgb(88, 112, 200)
HSLhsl(227, 50%, 56%)
HSVhsv(227, 56%, 78%)
CMYKcmyk(56%, 44%, 0%, 21.6%)
CIE-LABlab(49.29, 17.15, -48.62)
CIE-LCHlch(49.29, 51.56, 289.43°)
OKLaboklab(56.91% 0.0002 -0.1384)
OKLCHoklch(56.91% 0.138 270.1)
XYZxyz(20.2406, 17.8317, 57.0076)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870C8 #C8B058
analogous
#58A8C8 #5870C8 #7858C8
triadic
#5870C8 #C85870 #70C858
tetradic
#5870C8 #C858A8 #C8B058 #58C878
square
#5870C8 #C858A8 #C8B058 #58C878
split-complementary
#5870C8 #C87858 #A8C858
monochromatic
#293B7D #3851AB #5870C8 #8697D7 #B4BFE6

Accessibility & contrast

On white

4.60
#5870C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5870C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5870C8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870C8#FFFFFF#000000##FFFFFF
##5870C81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#3B71C6
Tritanopia (blue-blind)
#148392
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5870c8;
/* rgb */ color: rgb(88, 112, 200);
/* oklch */ color: oklch(56.9% 0.138 270.1);
Tailwind
colors: {
  custom: {
    50: '#8f98d9',
    500: '#5870c8',
    950: '#000000',
  },
}
SCSS
$custom: #5870c8;
$custom-light: #8f98d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5870c8",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 227.143,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.13837,
    "h": 270.1
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#5870C8
secondary
#D5CBA7
accent
#BC4EDA
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5870C8

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

Preview Lab → · Contrast checker → · Palette generator →

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