#5877AD#5877AD

#5877AD is a mid, moderate blue. Relative luminance 0.183; OKLCH L 56.9% C 0.091 H 261.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5877AD
RGBrgb(88, 119, 173)
HSLhsl(218, 34%, 51%)
HSVhsv(218, 49%, 68%)
CMYKcmyk(49.1%, 31.2%, 0%, 32.2%)
CIE-LABlab(49.84, 4.20, -32.19)
CIE-LCHlch(49.84, 32.46, 277.43°)
OKLaboklab(56.88% -0.0142 -0.0903)
OKLCHoklch(56.88% 0.091 261.1)
XYZxyz(18.1617, 18.2843, 42.0993)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877AD #AD8E58
analogous
#58A1AD #5877AD #6358AD
triadic
#5877AD #AD5877 #77AD58
tetradic
#5877AD #AD58A1 #AD8E58 #58AD63
square
#5877AD #AD58A1 #AD8E58 #58AD63
split-complementary
#5877AD #AD6358 #A1AD58
monochromatic
#2E3F5D #425B86 #5877AD #8198C1 #AABAD5

Accessibility & contrast

On white

4.51
#5877AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5877AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877AD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877AD#FFFFFF#000000##000000
##5877AD1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#627BAF
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#33838A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5877ad;
/* rgb */ color: rgb(88, 119, 173);
/* oklch */ color: oklch(56.9% 0.091 261.1);
Tailwind
colors: {
  custom: {
    50: '#8c9ec5',
    500: '#5877ad',
    950: '#000000',
  },
}
SCSS
$custom: #5877ad;
$custom-light: #8c9ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ad",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 173
  },
  "hsl": {
    "h": 218.118,
    "s": 34.137,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.09146,
    "h": 261.1
  },
  "luminance": 0.18285
}

Semantic roles & 50–950 ramp

primary
#5877AD
secondary
#C3B59E
accent
#A35ECA
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5877AD

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

Preview Lab → · Contrast checker → · Palette generator →

#5877AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva