#5878CE#5878CE

#5878CE is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.137 H 266.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5878CE
RGBrgb(88, 120, 206)
HSLhsl(224, 55%, 58%)
HSVhsv(224, 57%, 81%)
CMYKcmyk(57.3%, 41.7%, 0%, 19.2%)
CIE-LABlab(51.79, 14.21, -48.06)
CIE-LCHlch(51.79, 50.12, 286.47°)
OKLaboklab(58.94% -0.0075 -0.1366)
OKLCHoklch(58.94% 0.137 266.8)
XYZxyz(21.8778, 19.9622, 61.0807)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878CE #CEAE58
analogous
#58B3CE #5878CE #7358CE
triadic
#5878CE #CE5878 #78CE58
tetradic
#5878CE #CE58B3 #CEAE58 #58CE73
square
#5878CE #CE58B3 #CEAE58 #58CE73
split-complementary
#5878CE #CE7358 #B3CE58
monochromatic
#274085 #3557B4 #5878CE #879EDC #B7C4EA

Accessibility & contrast

On white

4.21
#5878CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5878CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878CE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878CE#FFFFFF#000000##000000
##5878CE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#4377CC
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5878ce;
/* rgb */ color: rgb(88, 120, 206);
/* oklch */ color: oklch(58.9% 0.137 266.8);
Tailwind
colors: {
  custom: {
    50: '#909edd',
    500: '#5878ce',
    950: '#000000',
  },
}
SCSS
$custom: #5878ce;
$custom-light: #909edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5878ce",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 223.729,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58938,
    "c": 0.13684,
    "h": 266.8
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5878CE

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

Preview Lab → · Contrast checker → · Palette generator →

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