#5870BB#5870BB

#5870BB is a mid, moderate blue. Relative luminance 0.173; OKLCH L 56.1% C 0.120 H 268.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5870BB
RGBrgb(88, 112, 187)
HSLhsl(225, 42%, 54%)
HSVhsv(225, 53%, 73%)
CMYKcmyk(52.9%, 40.1%, 0%, 26.7%)
CIE-LABlab(48.57, 12.92, -42.29)
CIE-LCHlch(48.57, 44.22, 286.98°)
OKLaboklab(56.12% -0.0022 -0.1198)
OKLCHoklch(56.12% 0.12 268.9)
XYZxyz(18.7854, 17.2496, 49.3437)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870BB #BBA358
analogous
#58A2BB #5870BB #7258BB
triadic
#5870BB #BB5870 #70BB58
tetradic
#5870BB #BB58A2 #BBA358 #58BB72
square
#5870BB #BB58A2 #BBA358 #58BB72
split-complementary
#5870BB #BB7258 #A2BB58
monochromatic
#2C3C6C #3E5498 #5870BB #8395CD #AFBADE

Accessibility & contrast

On white

4.72
#5870BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5870BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5870BB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870BB#FFFFFF#000000##FFFFFF
##5870BB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#28808C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5870bb;
/* rgb */ color: rgb(88, 112, 187);
/* oklch */ color: oklch(56.1% 0.120 268.9);
Tailwind
colors: {
  custom: {
    50: '#8e98d0',
    500: '#5870bb',
    950: '#000000',
  },
}
SCSS
$custom: #5870bb;
$custom-light: #8e98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5870bb",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 225.455,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.11983,
    "h": 268.9
  },
  "luminance": 0.17251
}

Semantic roles & 50–950 ramp

primary
#5870BB
secondary
#CDC2A2
accent
#B456D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5870BB

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

Preview Lab → · Contrast checker → · Palette generator →

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