#5877A3#5877A3

#5877A3 is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.4% C 0.078 H 257.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5877A3
RGBrgb(88, 119, 163)
HSLhsl(215, 30%, 49%)
HSVhsv(215, 46%, 64%)
CMYKcmyk(46%, 27%, 0%, 36.1%)
CIE-LABlab(49.39, 1.13, -27.07)
CIE-LCHlch(49.39, 27.09, 272.39°)
OKLaboklab(56.38% -0.0172 -0.0756)
OKLCHoklch(56.38% 0.078 257.2)
XYZxyz(17.2300, 17.9116, 37.1926)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877A3 #A38458
analogous
#589DA3 #5877A3 #5F58A3
triadic
#5877A3 #A35877 #77A358
tetradic
#5877A3 #A3589D #A38458 #58A35F
square
#5877A3 #A3589D #A38458 #58A35F
split-complementary
#5877A3 #A35F58 #9DA358
monochromatic
#2D3D54 #435A7B #5877A3 #7F97BA #A6B7CF

Accessibility & contrast

On white

4.58
#5877A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5877A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5877A3#FFFFFF#000000##000000
##5877A31.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6679A5
Deuteranopia (green-blind)
#5E72A2
Tritanopia (blue-blind)
#3A8186
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5877a3;
/* rgb */ color: rgb(88, 119, 163);
/* oklch */ color: oklch(56.4% 0.078 257.2);
Tailwind
colors: {
  custom: {
    50: '#8b9ebe',
    500: '#5877a3',
    950: '#000000',
  },
}
SCSS
$custom: #5877a3;
$custom-light: #8b9ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5877a3",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 163
  },
  "hsl": {
    "h": 215.2,
    "s": 29.88,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.07752,
    "h": 257.2
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

primary
#5877A3
secondary
#BDAE9A
accent
#9D62C6
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5877A3

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

Preview Lab → · Contrast checker → · Palette generator →

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