#5879E9#5879E9

#5879E9 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.9% C 0.173 H 268.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5879E9
RGBrgb(88, 121, 233)
HSLhsl(226, 77%, 63%)
HSVhsv(226, 62%, 91%)
CMYKcmyk(62.2%, 48.1%, 0%, 8.6%)
CIE-LABlab(53.63, 22.61, -60.34)
CIE-LCHlch(53.63, 64.44, 290.54°)
OKLaboklab(60.85% -0.0044 -0.1727)
OKLCHoklch(60.85% 0.173 268.5)
XYZxyz(25.5649, 21.6304, 79.9028)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879E9 #E9C858
analogous
#58C1E9 #5879E9 #7F58E9
triadic
#5879E9 #E95879 #79E958
tetradic
#5879E9 #E958C1 #E9C858 #58E97F
square
#5879E9 #E958C1 #E9C858 #58E97F
split-complementary
#5879E9 #E97F58 #C1E958
monochromatic
#173AAF #224EE2 #5879E9 #8EA4F0 #C4D0F7

Accessibility & contrast

On white

3.94
#5879E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5879E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879E9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879E9#FFFFFF#000000##000000
##5879E91.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87ED
Deuteranopia (green-blind)
#207AE7
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5879e9;
/* rgb */ color: rgb(88, 121, 233);
/* oklch */ color: oklch(60.9% 0.173 268.5);
Tailwind
colors: {
  custom: {
    50: '#949ff1',
    500: '#5879e9',
    950: '#000000',
  },
}
SCSS
$custom: #5879e9;
$custom-light: #949ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5879e9",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 233
  },
  "hsl": {
    "h": 226.345,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.17275,
    "h": 268.5
  },
  "luminance": 0.21633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5879E9

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

Preview Lab → · Contrast checker → · Palette generator →

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