#5879E4#5879E4

#5879E4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.166 H 268.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5879E4
RGBrgb(88, 121, 228)
HSLhsl(226, 72%, 62%)
HSVhsv(226, 61%, 89%)
CMYKcmyk(61.4%, 46.9%, 0%, 10.6%)
CIE-LABlab(53.33, 20.93, -58.03)
CIE-LCHlch(53.33, 61.69, 289.83°)
OKLaboklab(60.52% -0.0051 -0.1659)
OKLCHoklch(60.52% 0.166 268.2)
XYZxyz(24.8607, 21.3487, 76.1943)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879E4 #E4C358
analogous
#58BFE4 #5879E4 #7D58E4
triadic
#5879E4 #E45879 #79E458
tetradic
#5879E4 #E458BF #E4C358 #58E47D
square
#5879E4 #E458BF #E4C358 #58E47D
split-complementary
#5879E4 #E47D58 #BFE458
monochromatic
#1B3CA7 #234FDB #5879E4 #8DA3ED #C1CEF5

Accessibility & contrast

On white

3.98
#5879E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5879E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879E4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879E4#FFFFFF#000000##000000
##5879E41.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E8
Deuteranopia (green-blind)
#2A79E2
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5879e4;
/* rgb */ color: rgb(88, 121, 228);
/* oklch */ color: oklch(60.5% 0.166 268.2);
Tailwind
colors: {
  custom: {
    50: '#939fed',
    500: '#5879e4',
    950: '#000000',
  },
}
SCSS
$custom: #5879e4;
$custom-light: #939fed;
$custom-dark: #000000;
JSON
{
  "hex": "#5879e4",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 225.857,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60523,
    "c": 0.16598,
    "h": 268.2
  },
  "luminance": 0.21351
}

Semantic roles & 50–950 ramp

primary
#5879E4
secondary
#E6DAB2
accent
#A611D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5879E4

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

Preview Lab → · Contrast checker → · Palette generator →

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