#5870BD#5870BD

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

Color values

HEX#5870BD
RGBrgb(88, 112, 189)
HSLhsl(226, 43%, 54%)
HSVhsv(226, 53%, 74%)
CMYKcmyk(53.4%, 40.7%, 0%, 25.9%)
CIE-LABlab(48.68, 13.56, -43.27)
CIE-LCHlch(48.68, 45.35, 287.40°)
OKLaboklab(56.24% -0.0018 -0.1227)
OKLCHoklch(56.24% 0.123 269.1)
XYZxyz(19.0010, 17.3358, 50.4791)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5870BD #BDA558
analogous
#58A3BD #5870BD #7358BD
triadic
#5870BD #BD5870 #70BD58
tetradic
#5870BD #BD58A3 #BDA558 #58BD73
square
#5870BD #BD58A3 #BDA558 #58BD73
split-complementary
#5870BD #BD7358 #A3BD58
monochromatic
#2C3C6F #3D539B #5870BD #8496CE #B0BBE0

Accessibility & contrast

On white

4.70
#5870BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5870BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5870BD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5870BD#FFFFFF#000000##FFFFFF
##5870BD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#456FBB
Tritanopia (blue-blind)
#26818D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5870bd;
/* rgb */ color: rgb(88, 112, 189);
/* oklch */ color: oklch(56.2% 0.123 269.1);
Tailwind
colors: {
  custom: {
    50: '#8e98d1',
    500: '#5870bd',
    950: '#000000',
  },
}
SCSS
$custom: #5870bd;
$custom-light: #8e98d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5870bd",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 225.743,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56241,
    "c": 0.1227,
    "h": 269.1
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#5870BD
secondary
#CEC4A3
accent
#B555D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5870BD

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

Preview Lab → · Contrast checker → · Palette generator →

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