#5877B7#5877B7

#5877B7 is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.4% C 0.106 H 263.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5877B7
RGBrgb(88, 119, 183)
HSLhsl(220, 40%, 53%)
HSVhsv(220, 52%, 72%)
CMYKcmyk(51.9%, 35%, 0%, 28.2%)
CIE-LABlab(50.32, 7.35, -37.22)
CIE-LCHlch(50.32, 37.94, 281.17°)
OKLaboklab(57.4% -0.0115 -0.105)
OKLCHoklch(57.4% 0.106 263.8)
XYZxyz(19.1657, 18.6859, 47.3874)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877B7 #B79858
analogous
#58A6B7 #5877B7 #6858B7
triadic
#5877B7 #B75877 #77B758
tetradic
#5877B7 #B758A6 #B79858 #58B768
square
#5877B7 #B758A6 #B79858 #58B768
split-complementary
#5877B7 #B76858 #A6B758
monochromatic
#2D4068 #3F5A93 #5877B7 #839AC9 #AEBDDC

Accessibility & contrast

On white

4.43
#5877B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5877B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877B7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877B7#FFFFFF#000000##000000
##5877B71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7CBA
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#2B858E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5877b7;
/* rgb */ color: rgb(88, 119, 183);
/* oklch */ color: oklch(57.4% 0.106 263.8);
Tailwind
colors: {
  custom: {
    50: '#8d9dcd',
    500: '#5877b7',
    950: '#000000',
  },
}
SCSS
$custom: #5877b7;
$custom-light: #8d9dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#5877b7",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 183
  },
  "hsl": {
    "h": 220.421,
    "s": 39.749,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.1056,
    "h": 263.8
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#5877B7
secondary
#CABDA1
accent
#A958D0
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E13
muted
#7D7E82

Preview Lab

Preview with #5877B7

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

Preview Lab → · Contrast checker → · Palette generator →

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