#5878EF#5878EF

#5878EF is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.1% C 0.182 H 269.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5878EF
RGBrgb(88, 120, 239)
HSLhsl(227, 83%, 64%)
HSVhsv(227, 63%, 94%)
CMYKcmyk(63.2%, 49.8%, 0%, 6.3%)
CIE-LABlab(53.75, 25.25, -63.51)
CIE-LCHlch(53.75, 68.34, 291.68°)
OKLaboklab(61.06% -0.0028 -0.182)
OKLCHoklch(61.06% 0.182 269.1)
XYZxyz(26.3157, 21.7373, 84.4535)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878EF #EFCF58
analogous
#58C4EF #5878EF #8458EF
triadic
#5878EF #EF5878 #78EF58
tetradic
#5878EF #EF58C4 #EFCF58 #58EF84
square
#5878EF #EF58C4 #EFCF58 #58EF84
split-complementary
#5878EF #EF8458 #C4EF58
monochromatic
#1236BB #204BEA #5878EF #90A5F4 #C8D2FA

Accessibility & contrast

On white

3.93
#5878EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5878EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878EF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878EF#FFFFFF#000000##000000
##5878EF1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#027AED
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5878ef;
/* rgb */ color: rgb(88, 120, 239);
/* oklch */ color: oklch(61.1% 0.182 269.1);
Tailwind
colors: {
  custom: {
    50: '#959ef5',
    500: '#5878ef',
    950: '#000000',
  },
}
SCSS
$custom: #5878ef;
$custom-light: #959ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5878ef",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 227.285,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.18204,
    "h": 269.1
  },
  "luminance": 0.2174
}

Semantic roles & 50–950 ramp

primary
#5878EF
secondary
#ECE1B7
accent
#B107DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5878EF

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

Preview Lab → · Contrast checker → · Palette generator →

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