#5879E7#5879E7

#5879E7 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.170 H 268.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5879E7
RGBrgb(88, 121, 231)
HSLhsl(226, 75%, 63%)
HSVhsv(226, 62%, 91%)
CMYKcmyk(61.9%, 47.6%, 0%, 9.4%)
CIE-LABlab(53.51, 21.94, -59.42)
CIE-LCHlch(53.51, 63.34, 290.27°)
OKLaboklab(60.72% -0.0047 -0.17)
OKLCHoklch(60.72% 0.17 268.4)
XYZxyz(25.2808, 21.5168, 78.4067)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879E7 #E7C658
analogous
#58C0E7 #5879E7 #7F58E7
triadic
#5879E7 #E75879 #79E758
tetradic
#5879E7 #E758C0 #E7C658 #58E77F
square
#5879E7 #E758C0 #E7C658 #58E77F
split-complementary
#5879E7 #E77F58 #C0E758
monochromatic
#193BAC #224EDF #5879E7 #8EA4EF #C3CFF6

Accessibility & contrast

On white

3.96
#5879E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5879E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879E7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879E7#FFFFFF#000000##000000
##5879E71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#257AE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5879e7;
/* rgb */ color: rgb(88, 121, 231);
/* oklch */ color: oklch(60.7% 0.170 268.4);
Tailwind
colors: {
  custom: {
    50: '#949fef',
    500: '#5879e7',
    950: '#000000',
  },
}
SCSS
$custom: #5879e7;
$custom-light: #949fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5879e7",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 226.154,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60719,
    "c": 0.17004,
    "h": 268.4
  },
  "luminance": 0.21519
}

Semantic roles & 50–950 ramp

primary
#5879E7
secondary
#E7DBB3
accent
#A90ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5879E7

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

Preview Lab → · Contrast checker → · Palette generator →

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