#5877A5#5877A5

#5877A5 is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.5% C 0.080 H 258.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5877A5
RGBrgb(88, 119, 165)
HSLhsl(216, 30%, 50%)
HSVhsv(216, 47%, 65%)
CMYKcmyk(46.7%, 27.9%, 0%, 35.3%)
CIE-LABlab(49.48, 1.74, -28.10)
CIE-LCHlch(49.48, 28.15, 273.54°)
OKLaboklab(56.47% -0.0166 -0.0785)
OKLCHoklch(56.47% 0.08 258.1)
XYZxyz(17.4106, 17.9839, 38.1438)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877A5 #A58658
analogous
#589EA5 #5877A5 #5F58A5
triadic
#5877A5 #A55877 #77A558
tetradic
#5877A5 #A5589E #A58658 #58A55F
square
#5877A5 #A5589E #A58658 #58A55F
split-complementary
#5877A5 #A55F58 #9EA558
monochromatic
#2D3D55 #435A7D #5877A5 #7F97BB #A7B8D0

Accessibility & contrast

On white

4.57
#5877A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5877A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5877A5#FFFFFF#000000##000000
##5877A51.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA7
Deuteranopia (green-blind)
#5D72A4
Tritanopia (blue-blind)
#398187
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5877a5;
/* rgb */ color: rgb(88, 119, 165);
/* oklch */ color: oklch(56.5% 0.080 258.1);
Tailwind
colors: {
  custom: {
    50: '#8b9ec0',
    500: '#5877a5',
    950: '#000000',
  },
}
SCSS
$custom: #5877a5;
$custom-light: #8b9ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#5877a5",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 165
  },
  "hsl": {
    "h": 215.844,
    "s": 30.435,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.08028,
    "h": 258.1
  },
  "luminance": 0.17985
}

Semantic roles & 50–950 ramp

primary
#5877A5
secondary
#BEB09B
accent
#9E61C7
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5877A5

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

Preview Lab → · Contrast checker → · Palette generator →

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