#5876EC#5876EC

#5876EC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.180 H 269.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5876EC
RGBrgb(88, 118, 236)
HSLhsl(228, 80%, 64%)
HSVhsv(228, 63%, 93%)
CMYKcmyk(62.7%, 50%, 0%, 7.5%)
CIE-LABlab(53.04, 25.46, -62.97)
CIE-LCHlch(53.04, 67.92, 292.02°)
OKLaboklab(60.46% -0.0013 -0.1805)
OKLCHoklch(60.46% 0.18 269.6)
XYZxyz(25.6381, 21.0855, 82.0594)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876EC #ECCE58
analogous
#58C0EC #5876EC #8458EC
triadic
#5876EC #EC5876 #76EC58
tetradic
#5876EC #EC58C0 #ECCE58 #58EC84
square
#5876EC #EC58C0 #ECCE58 #58EC84
split-complementary
#5876EC #EC8458 #C0EC58
monochromatic
#1535B5 #2149E6 #5876EC #8FA3F2 #C6D0F9

Accessibility & contrast

On white

4.02
#5876EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5876EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876EC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876EC#FFFFFF#000000##000000
##5876EC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F0
Deuteranopia (green-blind)
#0278EA
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5876ec;
/* rgb */ color: rgb(88, 118, 236);
/* oklch */ color: oklch(60.5% 0.180 269.6);
Tailwind
colors: {
  custom: {
    50: '#959df3',
    500: '#5876ec',
    950: '#000000',
  },
}
SCSS
$custom: #5876ec;
$custom-light: #959df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5876ec",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 227.838,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.18046,
    "h": 269.6
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#5876EC
secondary
#EADFB6
accent
#B10ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5876EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5876EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva