#5877B1#5877B1

#5877B1 is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.1% C 0.097 H 262.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5877B1
RGBrgb(88, 119, 177)
HSLhsl(219, 36%, 52%)
HSVhsv(219, 50%, 69%)
CMYKcmyk(50.3%, 32.8%, 0%, 30.6%)
CIE-LABlab(50.03, 5.45, -34.21)
CIE-LCHlch(50.03, 34.64, 279.05°)
OKLaboklab(57.08% -0.0131 -0.0962)
OKLCHoklch(57.08% 0.097 262.3)
XYZxyz(18.5545, 18.4414, 44.1683)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877B1 #B19258
analogous
#58A4B1 #5877B1 #6658B1
triadic
#5877B1 #B15877 #77B158
tetradic
#5877B1 #B158A4 #B19258 #58B166
square
#5877B1 #B158A4 #B19258 #58B166
split-complementary
#5877B1 #B16658 #A4B158
monochromatic
#2D3F61 #415B8B #5877B1 #8299C4 #ABBBD8

Accessibility & contrast

On white

4.48
#5877B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5877B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5877B1#FFFFFF#000000##000000
##5877B11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB3
Deuteranopia (green-blind)
#5773B0
Tritanopia (blue-blind)
#30848C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5877b1;
/* rgb */ color: rgb(88, 119, 177);
/* oklch */ color: oklch(57.1% 0.097 262.3);
Tailwind
colors: {
  custom: {
    50: '#8c9ec8',
    500: '#5877b1',
    950: '#000000',
  },
}
SCSS
$custom: #5877b1;
$custom-light: #8c9ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5877b1",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 177
  },
  "hsl": {
    "h": 219.101,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.0971,
    "h": 262.3
  },
  "luminance": 0.18443
}

Semantic roles & 50–950 ramp

primary
#5877B1
secondary
#C6B89F
accent
#A55BCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5877B1

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

Preview Lab → · Contrast checker → · Palette generator →

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