#5877EC#5877EC

#5877EC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.179 H 269.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5877EC
RGBrgb(88, 119, 236)
HSLhsl(227, 80%, 64%)
HSVhsv(227, 63%, 93%)
CMYKcmyk(62.7%, 49.6%, 0%, 7.5%)
CIE-LABlab(53.30, 24.85, -62.55)
CIE-LCHlch(53.30, 67.31, 291.67°)
OKLaboklab(60.66% -0.0022 -0.1792)
OKLCHoklch(60.66% 0.179 269.3)
XYZxyz(25.7565, 21.3222, 82.0989)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877EC #ECCD58
analogous
#58C1EC #5877EC #8358EC
triadic
#5877EC #EC5877 #77EC58
tetradic
#5877EC #EC58C1 #ECCD58 #58EC83
square
#5877EC #EC58C1 #ECCD58 #58EC83
split-complementary
#5877EC #EC8358 #C1EC58
monochromatic
#1536B5 #214AE6 #5877EC #8FA4F2 #C6D0F9

Accessibility & contrast

On white

3.99
#5877EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5877EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877EC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877EC#FFFFFF#000000##000000
##5877EC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#0B79EA
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5877ec;
/* rgb */ color: rgb(88, 119, 236);
/* oklch */ color: oklch(60.7% 0.179 269.3);
Tailwind
colors: {
  custom: {
    50: '#959df3',
    500: '#5877ec',
    950: '#000000',
  },
}
SCSS
$custom: #5877ec;
$custom-light: #959df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ec",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 227.432,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.17923,
    "h": 269.3
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5877EC

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

Preview Lab → · Contrast checker → · Palette generator →

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