#5878E9#5878E9

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

Color values

HEX#5878E9
RGBrgb(88, 120, 233)
HSLhsl(227, 77%, 63%)
HSVhsv(227, 62%, 91%)
CMYKcmyk(62.2%, 48.5%, 0%, 8.6%)
CIE-LABlab(53.37, 23.23, -60.76)
CIE-LCHlch(53.37, 65.05, 290.92°)
OKLaboklab(60.65% -0.0035 -0.1739)
OKLCHoklch(60.65% 0.174 268.9)
XYZxyz(25.4440, 21.3886, 79.8626)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878E9 #E9C958
analogous
#58C0E9 #5878E9 #8158E9
triadic
#5878E9 #E95878 #78E958
tetradic
#5878E9 #E958C0 #E9C958 #58E981
square
#5878E9 #E958C0 #E9C958 #58E981
split-complementary
#5878E9 #E98158 #C0E958
monochromatic
#1739AF #224CE2 #5878E9 #8EA4F0 #C4CFF7

Accessibility & contrast

On white

3.98
#5878E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5878E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878E9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878E9#FFFFFF#000000##000000
##5878E91.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86ED
Deuteranopia (green-blind)
#1C79E7
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5878e9;
/* rgb */ color: rgb(88, 120, 233);
/* oklch */ color: oklch(60.7% 0.174 268.9);
Tailwind
colors: {
  custom: {
    50: '#949ef1',
    500: '#5878e9',
    950: '#000000',
  },
}
SCSS
$custom: #5878e9;
$custom-light: #949ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5878e9",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 226.759,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.17397,
    "h": 268.9
  },
  "luminance": 0.21391
}

Semantic roles & 50–950 ramp

primary
#5878E9
secondary
#E8DDB4
accent
#AC0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5878E9

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

Preview Lab → · Contrast checker → · Palette generator →

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