#5877A7#5877A7

#5877A7 is a mid, moderate blue. Relative luminance 0.181; OKLCH L 56.6% C 0.083 H 258.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5877A7
RGBrgb(88, 119, 167)
HSLhsl(216, 31%, 50%)
HSVhsv(216, 47%, 65%)
CMYKcmyk(47.3%, 28.7%, 0%, 34.5%)
CIE-LABlab(49.57, 2.35, -29.13)
CIE-LCHlch(49.57, 29.22, 274.61°)
OKLaboklab(56.57% -0.016 -0.0815)
OKLCHoklch(56.57% 0.083 258.9)
XYZxyz(17.5941, 18.0572, 39.1100)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877A7 #A78858
analogous
#589EA7 #5877A7 #6158A7
triadic
#5877A7 #A75877 #77A758
tetradic
#5877A7 #A7589E #A78858 #58A761
square
#5877A7 #A7589E #A78858 #58A761
split-complementary
#5877A7 #A76158 #9EA758
monochromatic
#2E3E57 #435A7F #5877A7 #8098BC #A8B8D1

Accessibility & contrast

On white

4.55
#5877A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5877A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5877A7#FFFFFF#000000##000000
##5877A71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#5C72A6
Tritanopia (blue-blind)
#388188
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5877a7;
/* rgb */ color: rgb(88, 119, 167);
/* oklch */ color: oklch(56.6% 0.083 258.9);
Tailwind
colors: {
  custom: {
    50: '#8b9ec1',
    500: '#5877a7',
    950: '#000000',
  },
}
SCSS
$custom: #5877a7;
$custom-light: #8b9ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#5877a7",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 167
  },
  "hsl": {
    "h": 216.456,
    "s": 30.98,
    "l": 50
  },
  "oklch": {
    "l": 0.56572,
    "c": 0.08306,
    "h": 258.9
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

primary
#5877A7
secondary
#BFB19C
accent
#9F61C7
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5877A7

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

Preview Lab → · Contrast checker → · Palette generator →

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