#5877AC#5877AC

#5877AC is a mid, moderate blue. Relative luminance 0.182; OKLCH L 56.8% C 0.090 H 260.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5877AC
RGBrgb(88, 119, 172)
HSLhsl(218, 34%, 51%)
HSVhsv(218, 49%, 67%)
CMYKcmyk(48.8%, 30.8%, 0%, 32.5%)
CIE-LABlab(49.79, 3.89, -31.68)
CIE-LCHlch(49.79, 31.92, 277.00°)
OKLaboklab(56.83% -0.0145 -0.0889)
OKLCHoklch(56.83% 0.09 260.7)
XYZxyz(18.0653, 18.2457, 41.5916)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877AC #AC8D58
analogous
#58A1AC #5877AC #6358AC
triadic
#5877AC #AC5877 #77AC58
tetradic
#5877AC #AC58A1 #AC8D58 #58AC63
square
#5877AC #AC58A1 #AC8D58 #58AC63
split-complementary
#5877AC #AC6358 #A1AC58
monochromatic
#2E3F5C #425B85 #5877AC #8198C0 #AABAD5

Accessibility & contrast

On white

4.52
#5877AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5877AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877AC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877AC#FFFFFF#000000##000000
##5877AC1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#637BAE
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#34828A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5877ac;
/* rgb */ color: rgb(88, 119, 172);
/* oklch */ color: oklch(56.8% 0.090 260.7);
Tailwind
colors: {
  custom: {
    50: '#8c9ec5',
    500: '#5877ac',
    950: '#000000',
  },
}
SCSS
$custom: #5877ac;
$custom-light: #8c9ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ac",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 172
  },
  "hsl": {
    "h": 217.857,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56825,
    "c": 0.09005,
    "h": 260.7
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5877AC

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

Preview Lab → · Contrast checker → · Palette generator →

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