#5876AC#5876AC

#5876AC is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.6% C 0.091 H 261.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5876AC
RGBrgb(88, 118, 172)
HSLhsl(219, 34%, 51%)
HSVhsv(219, 49%, 67%)
CMYKcmyk(48.8%, 31.4%, 0%, 32.5%)
CIE-LABlab(49.51, 4.49, -32.13)
CIE-LCHlch(49.51, 32.44, 277.96°)
OKLaboklab(56.6% -0.0132 -0.0902)
OKLCHoklch(56.6% 0.091 261.7)
XYZxyz(17.9469, 18.0089, 41.5521)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876AC #AC8E58
analogous
#58A0AC #5876AC #6458AC
triadic
#5876AC #AC5876 #76AC58
tetradic
#5876AC #AC58A0 #AC8E58 #58AC64
square
#5876AC #AC58A0 #AC8E58 #58AC64
split-complementary
#5876AC #AC6458 #A0AC58
monochromatic
#2E3E5C #425A85 #5876AC #8198C0 #AAB9D5

Accessibility & contrast

On white

4.56
#5876AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5876AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876AC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876AC#FFFFFF#000000##000000
##5876AC1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#627AAE
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#348289
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5876ac;
/* rgb */ color: rgb(88, 118, 172);
/* oklch */ color: oklch(56.6% 0.091 261.7);
Tailwind
colors: {
  custom: {
    50: '#8c9dc5',
    500: '#5876ac',
    950: '#000000',
  },
}
SCSS
$custom: #5876ac;
$custom-light: #8c9dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5876ac",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 172
  },
  "hsl": {
    "h": 218.571,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.09115,
    "h": 261.7
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#5876AC
secondary
#C3B59D
accent
#A35ECA
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5876AC

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

Preview Lab → · Contrast checker → · Palette generator →

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