#5876BD#5876BD

#5876BD is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.5% C 0.115 H 265.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5876BD
RGBrgb(88, 118, 189)
HSLhsl(222, 43%, 54%)
HSVhsv(222, 53%, 74%)
CMYKcmyk(53.4%, 37.6%, 0%, 25.9%)
CIE-LABlab(50.34, 9.88, -40.65)
CIE-LCHlch(50.34, 41.83, 283.66°)
OKLaboklab(57.52% -0.0088 -0.115)
OKLCHoklch(57.52% 0.115 265.6)
XYZxyz(19.6852, 18.7043, 50.7072)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876BD #BD9F58
analogous
#58A9BD #5876BD #6D58BD
triadic
#5876BD #BD5876 #76BD58
tetradic
#5876BD #BD58A9 #BD9F58 #58BD6D
square
#5876BD #BD58A9 #BD9F58 #58BD6D
split-complementary
#5876BD #BD6D58 #A9BD58
monochromatic
#2C406F #3D599B #5876BD #849ACE #B0BEE0

Accessibility & contrast

On white

4.43
#5876BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5876BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876BD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876BD#FFFFFF#000000##000000
##5876BD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#4E74BB
Tritanopia (blue-blind)
#248590
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5876bd;
/* rgb */ color: rgb(88, 118, 189);
/* oklch */ color: oklch(57.5% 0.115 265.6);
Tailwind
colors: {
  custom: {
    50: '#8e9dd1',
    500: '#5876bd',
    950: '#000000',
  },
}
SCSS
$custom: #5876bd;
$custom-light: #8e9dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5876bd",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 189
  },
  "hsl": {
    "h": 222.178,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.1153,
    "h": 265.6
  },
  "luminance": 0.18706
}

Semantic roles & 50–950 ramp

primary
#5876BD
secondary
#CEC1A3
accent
#AE55D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5876BD

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

Preview Lab → · Contrast checker → · Palette generator →

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