#5876BA#5876BA

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

Color values

HEX#5876BA
RGBrgb(88, 118, 186)
HSLhsl(222, 42%, 54%)
HSVhsv(222, 53%, 73%)
CMYKcmyk(52.7%, 36.6%, 0%, 27.1%)
CIE-LABlab(50.19, 8.92, -39.16)
CIE-LCHlch(50.19, 40.16, 282.83°)
OKLaboklab(57.35% -0.0096 -0.1106)
OKLCHoklch(57.35% 0.111 265.1)
XYZxyz(19.3629, 18.5754, 49.0099)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876BA #BA9C58
analogous
#58A7BA #5876BA #6B58BA
triadic
#5876BA #BA5876 #76BA58
tetradic
#5876BA #BA58A7 #BA9C58 #58BA6B
square
#5876BA #BA58A7 #BA9C58 #58BA6B
split-complementary
#5876BA #BA6B58 #A7BA58
monochromatic
#2C406B #3E5997 #5876BA #839ACC #AFBDDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5876BA#FFFFFF#000000##000000
##5876BA1.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)
#5B7CBD
Deuteranopia (green-blind)
#5073B9
Tritanopia (blue-blind)
#28858F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5876ba;
/* rgb */ color: rgb(88, 118, 186);
/* oklch */ color: oklch(57.4% 0.111 265.1);
Tailwind
colors: {
  custom: {
    50: '#8d9dcf',
    500: '#5876ba',
    950: '#000000',
  },
}
SCSS
$custom: #5876ba;
$custom-light: #8d9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5876ba",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 186
  },
  "hsl": {
    "h": 221.633,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.11103,
    "h": 265.1
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#5876BA
secondary
#CCBFA2
accent
#AC56D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5876BA

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

Preview Lab → · Contrast checker → · Palette generator →

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