#5879EF#5879EF

#5879EF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.181 H 268.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5879EF
RGBrgb(88, 121, 239)
HSLhsl(227, 83%, 64%)
HSVhsv(227, 63%, 94%)
CMYKcmyk(63.2%, 49.4%, 0%, 6.3%)
CIE-LABlab(54.00, 24.64, -63.09)
CIE-LCHlch(54.00, 67.73, 291.33°)
OKLaboklab(61.25% -0.0038 -0.1808)
OKLCHoklch(61.25% 0.181 268.8)
XYZxyz(26.4366, 21.9791, 84.4938)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879EF #EFCE58
analogous
#58C5EF #5879EF #8358EF
triadic
#5879EF #EF5879 #79EF58
tetradic
#5879EF #EF58C5 #EFCE58 #58EF83
square
#5879EF #EF58C5 #EFCE58 #58EF83
split-complementary
#5879EF #EF8358 #C5EF58
monochromatic
#1237BB #204CEA #5879EF #90A6F4 #C8D3FA

Accessibility & contrast

On white

3.89
#5879EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5879EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879EF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879EF#FFFFFF#000000##000000
##5879EF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#0C7BED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5879ef;
/* rgb */ color: rgb(88, 121, 239);
/* oklch */ color: oklch(61.3% 0.181 268.8);
Tailwind
colors: {
  custom: {
    50: '#959ff5',
    500: '#5879ef',
    950: '#000000',
  },
}
SCSS
$custom: #5879ef;
$custom-light: #959ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5879ef",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 226.887,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.18082,
    "h": 268.8
  },
  "luminance": 0.21981
}

Semantic roles & 50–950 ramp

primary
#5879EF
secondary
#ECE0B7
accent
#B007DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5879EF

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

Preview Lab → · Contrast checker → · Palette generator →

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