#5877C2#5877C2

#5877C2 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.0% C 0.121 H 265.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5877C2
RGBrgb(88, 119, 194)
HSLhsl(222, 46%, 55%)
HSVhsv(222, 55%, 76%)
CMYKcmyk(54.6%, 38.7%, 0%, 23.9%)
CIE-LABlab(50.88, 10.89, -42.67)
CIE-LCHlch(50.88, 44.04, 284.32°)
OKLaboklab(58.02% -0.0089 -0.1208)
OKLCHoklch(58.02% 0.121 265.8)
XYZxyz(20.3557, 19.1619, 53.6544)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877C2 #C2A358
analogous
#58ACC2 #5877C2 #6E58C2
triadic
#5877C2 #C25877 #77C258
tetradic
#5877C2 #C258AC #C2A358 #58C26E
square
#5877C2 #C258AC #C2A358 #58C26E
split-complementary
#5877C2 #C26E58 #ACC258
monochromatic
#2B4075 #3B59A2 #5877C2 #859CD2 #B2C0E3

Accessibility & contrast

On white

4.35
#5877C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5877C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877C2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877C2#FFFFFF#000000##000000
##5877C21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC5
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#1C8793
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5877c2;
/* rgb */ color: rgb(88, 119, 194);
/* oklch */ color: oklch(58.0% 0.121 265.8);
Tailwind
colors: {
  custom: {
    50: '#8e9dd5',
    500: '#5877c2',
    950: '#000000',
  },
}
SCSS
$custom: #5877c2;
$custom-light: #8e9dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5877c2",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 194
  },
  "hsl": {
    "h": 222.453,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5802,
    "c": 0.12118,
    "h": 265.8
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

primary
#5877C2
secondary
#D1C4A5
accent
#AF52D6
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5877C2

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

Preview Lab → · Contrast checker → · Palette generator →

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