#5870BF#5870BF

#5870BF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.4% C 0.126 H 269.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5870BF
RGBrgb(88, 112, 191)
HSLhsl(226, 45%, 55%)
HSVhsv(226, 54%, 75%)
CMYKcmyk(53.9%, 41.4%, 0%, 25.1%)
CIE-LABlab(48.79, 14.21, -44.25)
CIE-LCHlch(48.79, 46.48, 287.80°)
OKLaboklab(56.36% -0.0014 -0.1256)
OKLCHoklch(56.36% 0.126 269.3)
XYZxyz(19.2195, 17.4233, 51.6304)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870BF #BFA758
analogous
#58A4BF #5870BF #7358BF
triadic
#5870BF #BF5870 #70BF58
tetradic
#5870BF #BF58A4 #BFA758 #58BF73
square
#5870BF #BF58A4 #BFA758 #58BF73
split-complementary
#5870BF #BF7358 #A4BF58
monochromatic
#2B3C71 #3C539D #5870BF #8496D0 #B0BCE1

Accessibility & contrast

On white

4.68
#5870BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5870BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5870BF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870BF#FFFFFF#000000##FFFFFF
##5870BF1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#4370BD
Tritanopia (blue-blind)
#23818E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5870bf;
/* rgb */ color: rgb(88, 112, 191);
/* oklch */ color: oklch(56.4% 0.126 269.3);
Tailwind
colors: {
  custom: {
    50: '#8e98d3',
    500: '#5870bf',
    950: '#000000',
  },
}
SCSS
$custom: #5870bf;
$custom-light: #8e98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5870bf",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 226.019,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.12557,
    "h": 269.3
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#5870BF
secondary
#CFC5A4
accent
#B654D4
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5870BF

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

Preview Lab → · Contrast checker → · Palette generator →

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