#5879EE#5879EE

#5879EE is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.179 H 268.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5879EE
RGBrgb(88, 121, 238)
HSLhsl(227, 82%, 64%)
HSVhsv(227, 63%, 93%)
CMYKcmyk(63%, 49.2%, 0%, 6.7%)
CIE-LABlab(53.94, 24.30, -62.63)
CIE-LCHlch(53.94, 67.18, 291.20°)
OKLaboklab(61.19% -0.0039 -0.1794)
OKLCHoklch(61.19% 0.179 268.8)
XYZxyz(26.2892, 21.9202, 83.7179)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879EE #EECD58
analogous
#58C4EE #5879EE #8258EE
triadic
#5879EE #EE5879 #79EE58
tetradic
#5879EE #EE58C4 #EECD58 #58EE82
square
#5879EE #EE58C4 #EECD58 #58EE82
split-complementary
#5879EE #EE8258 #C4EE58
monochromatic
#1337B9 #204CE8 #5879EE #90A6F4 #C7D2F9

Accessibility & contrast

On white

3.90
#5879EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5879EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879EE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879EE#FFFFFF#000000##000000
##5879EE1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3988F2
Deuteranopia (green-blind)
#117BEC
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5879ee;
/* rgb */ color: rgb(88, 121, 238);
/* oklch */ color: oklch(61.2% 0.179 268.8);
Tailwind
colors: {
  custom: {
    50: '#959ff4',
    500: '#5879ee',
    950: '#000000',
  },
}
SCSS
$custom: #5879ee;
$custom-light: #959ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5879ee",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 226.8,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.17948,
    "h": 268.8
  },
  "luminance": 0.21922
}

Semantic roles & 50–950 ramp

primary
#5879EE
secondary
#EBE0B7
accent
#AF08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5879EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5879EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva