#5877C5#5877C5

#5877C5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.2% C 0.125 H 266.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5877C5
RGBrgb(88, 119, 197)
HSLhsl(223, 48%, 56%)
HSVhsv(223, 55%, 77%)
CMYKcmyk(55.3%, 39.6%, 0%, 22.7%)
CIE-LABlab(51.03, 11.87, -44.14)
CIE-LCHlch(51.03, 45.70, 285.05°)
OKLaboklab(58.19% -0.0082 -0.1251)
OKLCHoklch(58.19% 0.125 266.2)
XYZxyz(20.6960, 19.2980, 55.4468)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877C5 #C5A658
analogous
#58ADC5 #5877C5 #6F58C5
triadic
#5877C5 #C55877 #77C558
tetradic
#5877C5 #C558AD #C5A658 #58C56F
square
#5877C5 #C558AD #C5A658 #58C56F
split-complementary
#5877C5 #C56F58 #ADC558
monochromatic
#2A4079 #3A59A6 #5877C5 #859CD5 #B3C1E5

Accessibility & contrast

On white

4.32
#5877C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5877C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877C5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877C5#FFFFFF#000000##000000
##5877C51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC8
Deuteranopia (green-blind)
#4975C3
Tritanopia (blue-blind)
#178894
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5877c5;
/* rgb */ color: rgb(88, 119, 197);
/* oklch */ color: oklch(58.2% 0.125 266.2);
Tailwind
colors: {
  custom: {
    50: '#8f9dd7',
    500: '#5877c5',
    950: '#000000',
  },
}
SCSS
$custom: #5877c5;
$custom-light: #8f9dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5877c5",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 197
  },
  "hsl": {
    "h": 222.936,
    "s": 48.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58194,
    "c": 0.12542,
    "h": 266.2
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#5877C5
secondary
#D3C6A6
accent
#B150D8
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5877C5

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

Preview Lab → · Contrast checker → · Palette generator →

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