#5876BC#5876BC

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

Color values

HEX#5876BC
RGBrgb(88, 118, 188)
HSLhsl(222, 43%, 54%)
HSVhsv(222, 53%, 74%)
CMYKcmyk(53.2%, 37.2%, 0%, 26.3%)
CIE-LABlab(50.29, 9.56, -40.15)
CIE-LCHlch(50.29, 41.27, 283.39°)
OKLaboklab(57.47% -0.0091 -0.1135)
OKLCHoklch(57.47% 0.114 265.4)
XYZxyz(19.5770, 18.6610, 50.1375)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876BC #BC9E58
analogous
#58A8BC #5876BC #6C58BC
triadic
#5876BC #BC5876 #76BC58
tetradic
#5876BC #BC58A8 #BC9E58 #58BC6C
square
#5876BC #BC58A8 #BC9E58 #58BC6C
split-complementary
#5876BC #BC6C58 #A8BC58
monochromatic
#2C406E #3E5999 #5876BC #849ACE #AFBEDF

Accessibility & contrast

On white

4.44
#5876BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5876BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876BC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876BC#FFFFFF#000000##000000
##5876BC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DBF
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#258590
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5876bc;
/* rgb */ color: rgb(88, 118, 188);
/* oklch */ color: oklch(57.5% 0.114 265.4);
Tailwind
colors: {
  custom: {
    50: '#8e9dd0',
    500: '#5876bc',
    950: '#000000',
  },
}
SCSS
$custom: #5876bc;
$custom-light: #8e9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5876bc",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 222,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57465,
    "c": 0.11387,
    "h": 265.4
  },
  "luminance": 0.18662
}

Semantic roles & 50–950 ramp

primary
#5876BC
secondary
#CDC0A3
accent
#AD55D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5876BC

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

Preview Lab → · Contrast checker → · Palette generator →

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