#5878CD#5878CD

#5878CD is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.135 H 266.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5878CD
RGBrgb(88, 120, 205)
HSLhsl(224, 54%, 57%)
HSVhsv(224, 57%, 80%)
CMYKcmyk(57.1%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.74, 13.88, -47.58)
CIE-LCHlch(51.74, 49.56, 286.26°)
OKLaboklab(58.88% -0.0077 -0.1352)
OKLCHoklch(58.88% 0.135 266.7)
XYZxyz(21.7567, 19.9137, 60.4430)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878CD #CDAD58
analogous
#58B2CD #5878CD #7358CD
triadic
#5878CD #CD5878 #78CD58
tetradic
#5878CD #CD58B2 #CDAD58 #58CD73
square
#5878CD #CD58B2 #CDAD58 #58CD73
split-complementary
#5878CD #CD7358 #B2CD58
monochromatic
#274083 #3558B2 #5878CD #879EDB #B6C4E9

Accessibility & contrast

On white

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

On black

4.98
#5878CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878CD#FFFFFF#000000##000000
##5878CD1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5878cd;
/* rgb */ color: rgb(88, 120, 205);
/* oklch */ color: oklch(58.9% 0.135 266.7);
Tailwind
colors: {
  custom: {
    50: '#909edd',
    500: '#5878cd',
    950: '#000000',
  },
}
SCSS
$custom: #5878cd;
$custom-light: #909edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5878cd",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 223.59,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.13544,
    "h": 266.7
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

primary
#5878CD
secondary
#D8CBA9
accent
#B54BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5878CD

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

Preview Lab → · Contrast checker → · Palette generator →

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