#5877AE#5877AE

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

Color values

HEX#5877AE
RGBrgb(88, 119, 174)
HSLhsl(218, 35%, 51%)
HSVhsv(218, 49%, 68%)
CMYKcmyk(49.4%, 31.6%, 0%, 31.8%)
CIE-LABlab(49.89, 4.51, -32.69)
CIE-LCHlch(49.89, 33.00, 277.86°)
OKLaboklab(56.93% -0.0139 -0.0918)
OKLCHoklch(56.93% 0.093 261.4)
XYZxyz(18.2588, 18.3231, 42.6108)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877AE #AE8F58
analogous
#58A2AE #5877AE #6458AE
triadic
#5877AE #AE5877 #77AE58
tetradic
#5877AE #AE58A2 #AE8F58 #58AE64
square
#5877AE #AE58A2 #AE8F58 #58AE64
split-complementary
#5877AE #AE6458 #A2AE58
monochromatic
#2E3F5E #425B87 #5877AE #8199C2 #AABAD6

Accessibility & contrast

On white

4.50
#5877AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5877AE#FFFFFF#000000##000000
##5877AE1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#627BB0
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#33838B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5877ae;
/* rgb */ color: rgb(88, 119, 174);
/* oklch */ color: oklch(56.9% 0.093 261.4);
Tailwind
colors: {
  custom: {
    50: '#8c9ec6',
    500: '#5877ae',
    950: '#000000',
  },
}
SCSS
$custom: #5877ae;
$custom-light: #8c9ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ae",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 174
  },
  "hsl": {
    "h": 218.372,
    "s": 34.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56928,
    "c": 0.09287,
    "h": 261.4
  },
  "luminance": 0.18324
}

Semantic roles & 50–950 ramp

primary
#5877AE
secondary
#C4B69E
accent
#A35DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5877AE

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

Preview Lab → · Contrast checker → · Palette generator →

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