#5877B0#5877B0

#5877B0 is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.0% C 0.096 H 262.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5877B0
RGBrgb(88, 119, 176)
HSLhsl(219, 36%, 52%)
HSVhsv(219, 50%, 69%)
CMYKcmyk(50%, 32.4%, 0%, 31%)
CIE-LABlab(49.98, 5.14, -33.71)
CIE-LCHlch(49.98, 34.10, 278.66°)
OKLaboklab(57.03% -0.0133 -0.0948)
OKLCHoklch(57.03% 0.096 262)
XYZxyz(18.4552, 18.4017, 43.6453)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877B0 #B09158
analogous
#58A3B0 #5877B0 #6558B0
triadic
#5877B0 #B05877 #77B058
tetradic
#5877B0 #B058A3 #B09158 #58B065
square
#5877B0 #B058A3 #B09158 #58B065
split-complementary
#5877B0 #B06558 #A3B058
monochromatic
#2D3F60 #415B8A #5877B0 #8299C4 #ABBBD7

Accessibility & contrast

On white

4.49
#5877B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5877B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5877B0#FFFFFF#000000##000000
##5877B01.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#617BB2
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#31838B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5877b0;
/* rgb */ color: rgb(88, 119, 176);
/* oklch */ color: oklch(57.0% 0.096 262.0);
Tailwind
colors: {
  custom: {
    50: '#8c9ec8',
    500: '#5877b0',
    950: '#000000',
  },
}
SCSS
$custom: #5877b0;
$custom-light: #8c9ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5877b0",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 176
  },
  "hsl": {
    "h": 218.864,
    "s": 35.772,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57032,
    "c": 0.0957,
    "h": 262
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#5877B0
secondary
#C5B89F
accent
#A45CCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5877B0

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

Preview Lab → · Contrast checker → · Palette generator →

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