#5870BC#5870BC

#5870BC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.121 H 269.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5870BC
RGBrgb(88, 112, 188)
HSLhsl(226, 43%, 54%)
HSVhsv(226, 53%, 74%)
CMYKcmyk(53.2%, 40.4%, 0%, 26.3%)
CIE-LABlab(48.63, 13.24, -42.78)
CIE-LCHlch(48.63, 44.78, 287.20°)
OKLaboklab(56.18% -0.002 -0.1212)
OKLCHoklch(56.18% 0.121 269)
XYZxyz(18.8928, 17.2926, 49.9094)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870BC #BCA458
analogous
#58A2BC #5870BC #7258BC
triadic
#5870BC #BC5870 #70BC58
tetradic
#5870BC #BC58A2 #BCA458 #58BC72
square
#5870BC #BC58A2 #BCA458 #58BC72
split-complementary
#5870BC #BC7258 #A2BC58
monochromatic
#2C3C6E #3E5499 #5870BC #8495CE #AFBBDF

Accessibility & contrast

On white

4.71
#5870BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5870BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5870BC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870BC#FFFFFF#000000##FFFFFF
##5870BC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#27808D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5870bc;
/* rgb */ color: rgb(88, 112, 188);
/* oklch */ color: oklch(56.2% 0.121 269.0);
Tailwind
colors: {
  custom: {
    50: '#8e98d0',
    500: '#5870bc',
    950: '#000000',
  },
}
SCSS
$custom: #5870bc;
$custom-light: #8e98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5870bc",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 225.6,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56182,
    "c": 0.12127,
    "h": 269
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#5870BC
secondary
#CDC3A3
accent
#B455D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5870BC

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

Preview Lab → · Contrast checker → · Palette generator →

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