#5878DE#5878DE

#5878DE is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.159 H 268.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5878DE
RGBrgb(88, 120, 222)
HSLhsl(226, 67%, 61%)
HSVhsv(226, 60%, 87%)
CMYKcmyk(60.4%, 45.9%, 0%, 12.9%)
CIE-LABlab(52.71, 19.53, -55.65)
CIE-LCHlch(52.71, 58.98, 289.34°)
OKLaboklab(59.93% -0.0049 -0.1589)
OKLCHoklch(59.93% 0.159 268.2)
XYZxyz(23.9213, 20.7796, 71.8433)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878DE #DEBE58
analogous
#58BBDE #5878DE #7B58DE
triadic
#5878DE #DE5878 #78DE58
tetradic
#5878DE #DE58BB #DEBE58 #58DE7B
square
#5878DE #DE58BB #DEBE58 #58DE7B
split-complementary
#5878DE #DE7B58 #BBDE58
monochromatic
#1F3D9D #2951D0 #5878DE #8BA1E8 #BECBF2

Accessibility & contrast

On white

4.07
#5878DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5878DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878DE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878DE#FFFFFF#000000##000000
##5878DE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E2
Deuteranopia (green-blind)
#3178DC
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5878de;
/* rgb */ color: rgb(88, 120, 222);
/* oklch */ color: oklch(59.9% 0.159 268.2);
Tailwind
colors: {
  custom: {
    50: '#929ee9',
    500: '#5878de',
    950: '#000000',
  },
}
SCSS
$custom: #5878de;
$custom-light: #929ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5878de",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 225.672,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59933,
    "c": 0.15901,
    "h": 268.2
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#5878DE
secondary
#E2D6B0
accent
#A317CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5878DE

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

Preview Lab → · Contrast checker → · Palette generator →

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