#5879EA#5879EA

#5879EA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.174 H 268.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5879EA
RGBrgb(88, 121, 234)
HSLhsl(226, 78%, 63%)
HSVhsv(226, 62%, 92%)
CMYKcmyk(62.4%, 48.3%, 0%, 8.2%)
CIE-LABlab(53.69, 22.95, -60.80)
CIE-LCHlch(53.69, 64.99, 290.68°)
OKLaboklab(60.92% -0.0043 -0.174)
OKLCHoklch(60.92% 0.174 268.6)
XYZxyz(25.7081, 21.6877, 80.6573)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879EA #EAC958
analogous
#58C2EA #5879EA #8058EA
triadic
#5879EA #EA5879 #79EA58
tetradic
#5879EA #EA58C2 #EAC958 #58EA80
square
#5879EA #EA58C2 #EAC958 #58EA80
split-complementary
#5879EA #EA8058 #C2EA58
monochromatic
#1639B1 #224DE3 #5879EA #8EA5F1 #C5D0F8

Accessibility & contrast

On white

3.93
#5879EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5879EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879EA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879EA#FFFFFF#000000##000000
##5879EA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5879ea;
/* rgb */ color: rgb(88, 121, 234);
/* oklch */ color: oklch(60.9% 0.174 268.6);
Tailwind
colors: {
  custom: {
    50: '#949ff1',
    500: '#5879ea',
    950: '#000000',
  },
}
SCSS
$custom: #5879ea;
$custom-light: #949ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5879ea",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 226.438,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60918,
    "c": 0.1741,
    "h": 268.6
  },
  "luminance": 0.2169
}

Semantic roles & 50–950 ramp

primary
#5879EA
secondary
#E9DDB5
accent
#AB0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5879EA

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

Preview Lab → · Contrast checker → · Palette generator →

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