#5877AA#5877AA

#5877AA is a mid, moderate blue. Relative luminance 0.182; OKLCH L 56.7% C 0.087 H 260.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5877AA
RGBrgb(88, 119, 170)
HSLhsl(217, 33%, 51%)
HSVhsv(217, 48%, 67%)
CMYKcmyk(48.2%, 30%, 0%, 33.3%)
CIE-LABlab(49.70, 3.27, -30.66)
CIE-LCHlch(49.70, 30.83, 276.09°)
OKLaboklab(56.72% -0.0151 -0.0859)
OKLCHoklch(56.72% 0.087 260.1)
XYZxyz(17.8746, 18.1695, 40.5876)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877AA #AA8B58
analogous
#58A0AA #5877AA #6258AA
triadic
#5877AA #AA5877 #77AA58
tetradic
#5877AA #AA58A0 #AA8B58 #58AA62
square
#5877AA #AA58A0 #AA8B58 #58AA62
split-complementary
#5877AA #AA6258 #A0AA58
monochromatic
#2E3E5A #425B82 #5877AA #8198BF #A9B9D3

Accessibility & contrast

On white

4.53
#5877AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5877AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5877AA#FFFFFF#000000##000000
##5877AA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#647AAC
Deuteranopia (green-blind)
#5A73A9
Tritanopia (blue-blind)
#368289
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5877aa;
/* rgb */ color: rgb(88, 119, 170);
/* oklch */ color: oklch(56.7% 0.087 260.1);
Tailwind
colors: {
  custom: {
    50: '#8b9ec3',
    500: '#5877aa',
    950: '#000000',
  },
}
SCSS
$custom: #5877aa;
$custom-light: #8b9ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#5877aa",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 170
  },
  "hsl": {
    "h": 217.317,
    "s": 32.54,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.08725,
    "h": 260.1
  },
  "luminance": 0.18171
}

Semantic roles & 50–950 ramp

primary
#5877AA
secondary
#C1B39D
accent
#A15FC9
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5877AA

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

Preview Lab → · Contrast checker → · Palette generator →

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