#5877C4#5877C4

#5877C4 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.124 H 266.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5877C4
RGBrgb(88, 119, 196)
HSLhsl(223, 48%, 56%)
HSVhsv(223, 55%, 77%)
CMYKcmyk(55.1%, 39.3%, 0%, 23.1%)
CIE-LABlab(50.98, 11.54, -43.65)
CIE-LCHlch(50.98, 45.15, 284.81°)
OKLaboklab(58.14% -0.0084 -0.1237)
OKLCHoklch(58.14% 0.124 266.1)
XYZxyz(20.5818, 19.2523, 54.8453)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877C4 #C4A558
analogous
#58ADC4 #5877C4 #6F58C4
triadic
#5877C4 #C45877 #77C458
tetradic
#5877C4 #C458AD #C4A558 #58C46F
square
#5877C4 #C458AD #C4A558 #58C46F
split-complementary
#5877C4 #C46F58 #ADC458
monochromatic
#2A4077 #3A59A5 #5877C4 #859CD4 #B2C1E4

Accessibility & contrast

On white

4.33
#5877C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5877C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877C4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877C4#FFFFFF#000000##000000
##5877C41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC7
Deuteranopia (green-blind)
#4A75C2
Tritanopia (blue-blind)
#198894
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5877c4;
/* rgb */ color: rgb(88, 119, 196);
/* oklch */ color: oklch(58.1% 0.124 266.1);
Tailwind
colors: {
  custom: {
    50: '#8f9dd6',
    500: '#5877c4',
    950: '#000000',
  },
}
SCSS
$custom: #5877c4;
$custom-light: #8f9dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5877c4",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 196
  },
  "hsl": {
    "h": 222.778,
    "s": 47.788,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.12401,
    "h": 266.1
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#5877C4
secondary
#D2C5A5
accent
#B150D7
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5877C4

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

Preview Lab → · Contrast checker → · Palette generator →

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