#5876BB#5876BB

#5876BB is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.4% C 0.112 H 265.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5876BB
RGBrgb(88, 118, 187)
HSLhsl(222, 42%, 54%)
HSVhsv(222, 53%, 73%)
CMYKcmyk(52.9%, 36.9%, 0%, 26.7%)
CIE-LABlab(50.24, 9.24, -39.66)
CIE-LCHlch(50.24, 40.72, 283.11°)
OKLaboklab(57.41% -0.0093 -0.1121)
OKLCHoklch(57.41% 0.112 265.2)
XYZxyz(19.4696, 18.6180, 49.5718)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876BB #BB9D58
analogous
#58A8BB #5876BB #6C58BB
triadic
#5876BB #BB5876 #76BB58
tetradic
#5876BB #BB58A8 #BB9D58 #58BB6C
square
#5876BB #BB58A8 #BB9D58 #58BB6C
split-complementary
#5876BB #BB6C58 #A8BB58
monochromatic
#2C406C #3E5998 #5876BB #839ACD #AFBDDE

Accessibility & contrast

On white

4.45
#5876BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5876BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876BB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876BB#FFFFFF#000000##000000
##5876BB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBE
Deuteranopia (green-blind)
#4F73BA
Tritanopia (blue-blind)
#26858F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5876bb;
/* rgb */ color: rgb(88, 118, 187);
/* oklch */ color: oklch(57.4% 0.112 265.2);
Tailwind
colors: {
  custom: {
    50: '#8d9dd0',
    500: '#5876bb',
    950: '#000000',
  },
}
SCSS
$custom: #5876bb;
$custom-light: #8d9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5876bb",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 221.818,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57409,
    "c": 0.11246,
    "h": 265.2
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

primary
#5876BB
secondary
#CDC0A2
accent
#AC56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5876BB

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

Preview Lab → · Contrast checker → · Palette generator →

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