#5877CE#5877CE

#5877CE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.7% C 0.138 H 267.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5877CE
RGBrgb(88, 119, 206)
HSLhsl(224, 55%, 58%)
HSVhsv(224, 57%, 81%)
CMYKcmyk(57.3%, 42.2%, 0%, 19.2%)
CIE-LABlab(51.52, 14.82, -48.49)
CIE-LCHlch(51.52, 50.71, 286.99°)
OKLaboklab(58.73% -0.0065 -0.1379)
OKLCHoklch(58.73% 0.138 267.3)
XYZxyz(21.7582, 19.7229, 61.0409)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877CE #CEAF58
analogous
#58B2CE #5877CE #7458CE
triadic
#5877CE #CE5877 #77CE58
tetradic
#5877CE #CE58B2 #CEAF58 #58CE74
square
#5877CE #CE58B2 #CEAF58 #58CE74
split-complementary
#5877CE #CE7458 #B2CE58
monochromatic
#274085 #3556B4 #5877CE #879EDC #B7C4EA

Accessibility & contrast

On white

4.25
#5877CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5877CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877CE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877CE#FFFFFF#000000##000000
##5877CE1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D1
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5877ce;
/* rgb */ color: rgb(88, 119, 206);
/* oklch */ color: oklch(58.7% 0.138 267.3);
Tailwind
colors: {
  custom: {
    50: '#909ddd',
    500: '#5877ce',
    950: '#000000',
  },
}
SCSS
$custom: #5877ce;
$custom-light: #909ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ce",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 224.237,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.13806,
    "h": 267.3
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#5877CE
secondary
#D9CCA9
accent
#B74ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5877CE

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

Preview Lab → · Contrast checker → · Palette generator →

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