#5871AE#5871AE

#5871AE is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.6% C 0.100 H 266.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5871AE
RGBrgb(88, 113, 174)
HSLhsl(223, 35%, 51%)
HSVhsv(223, 49%, 68%)
CMYKcmyk(49.4%, 35.1%, 0%, 31.8%)
CIE-LABlab(48.18, 8.16, -35.36)
CIE-LCHlch(48.18, 36.29, 282.99°)
OKLaboklab(55.61% -0.0064 -0.0996)
OKLCHoklch(55.61% 0.1 266.3)
XYZxyz(17.5671, 16.9398, 42.3802)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5871AE #AE9558
analogous
#589CAE #5871AE #6A58AE
triadic
#5871AE #AE5871 #71AE58
tetradic
#5871AE #AE589C #AE9558 #58AE6A
square
#5871AE #AE589C #AE9558 #58AE6A
split-complementary
#5871AE #AE6A58 #9CAE58
monochromatic
#2E3C5E #425687 #5871AE #8194C2 #AAB7D6

Accessibility & contrast

On white

4.79
#5871AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5871AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5871AE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5871AE#FFFFFF#000000##FFFFFF
##5871AE1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A77B1
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#347E87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5871ae;
/* rgb */ color: rgb(88, 113, 174);
/* oklch */ color: oklch(55.6% 0.100 266.3);
Tailwind
colors: {
  custom: {
    50: '#8c99c6',
    500: '#5871ae',
    950: '#000000',
  },
}
SCSS
$custom: #5871ae;
$custom-light: #8c99c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5871ae",
  "rgb": {
    "r": 88,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 222.558,
    "s": 34.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55605,
    "c": 0.09981,
    "h": 266.3
  },
  "luminance": 0.16941
}

Semantic roles & 50–950 ramp

primary
#5871AE
secondary
#C4B99E
accent
#AB5DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #5871AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5871AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva