#5878EA#5878EA

#5878EA is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.175 H 268.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5878EA
RGBrgb(88, 120, 234)
HSLhsl(227, 78%, 63%)
HSVhsv(227, 62%, 92%)
CMYKcmyk(62.4%, 48.7%, 0%, 8.2%)
CIE-LABlab(53.43, 23.56, -61.22)
CIE-LCHlch(53.43, 65.60, 291.05°)
OKLaboklab(60.72% -0.0034 -0.1753)
OKLCHoklch(60.72% 0.175 268.9)
XYZxyz(25.5872, 21.4459, 80.6170)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878EA #EACA58
analogous
#58C1EA #5878EA #8158EA
triadic
#5878EA #EA5878 #78EA58
tetradic
#5878EA #EA58C1 #EACA58 #58EA81
square
#5878EA #EA58C1 #EACA58 #58EA81
split-complementary
#5878EA #EA8158 #C1EA58
monochromatic
#1638B1 #224CE3 #5878EA #8EA4F1 #C5D0F8

Accessibility & contrast

On white

3.97
#5878EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5878EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878EA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878EA#FFFFFF#000000##000000
##5878EA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#1979E8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5878ea;
/* rgb */ color: rgb(88, 120, 234);
/* oklch */ color: oklch(60.7% 0.175 268.9);
Tailwind
colors: {
  custom: {
    50: '#949ef1',
    500: '#5878ea',
    950: '#000000',
  },
}
SCSS
$custom: #5878ea;
$custom-light: #949ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5878ea",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 226.849,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.17532,
    "h": 268.9
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

primary
#5878EA
secondary
#E9DEB5
accent
#AD0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5878EA

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

Preview Lab → · Contrast checker → · Palette generator →

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