#5877EA#5877EA

#5877EA is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.177 H 269.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5877EA
RGBrgb(88, 119, 234)
HSLhsl(227, 78%, 63%)
HSVhsv(227, 62%, 92%)
CMYKcmyk(62.4%, 49.1%, 0%, 8.2%)
CIE-LABlab(53.17, 24.18, -61.64)
CIE-LCHlch(53.17, 66.21, 291.42°)
OKLaboklab(60.52% -0.0024 -0.1765)
OKLCHoklch(60.52% 0.177 269.2)
XYZxyz(25.4676, 21.2066, 80.5771)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877EA #EACB58
analogous
#58C0EA #5877EA #8258EA
triadic
#5877EA #EA5877 #77EA58
tetradic
#5877EA #EA58C0 #EACB58 #58EA82
square
#5877EA #EA58C0 #EACB58 #58EA82
split-complementary
#5877EA #EA8258 #C0EA58
monochromatic
#1637B1 #224BE3 #5877EA #8EA3F1 #C5D0F8

Accessibility & contrast

On white

4.01
#5877EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5877EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877EA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877EA#FFFFFF#000000##000000
##5877EA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#1479E8
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5877ea;
/* rgb */ color: rgb(88, 119, 234);
/* oklch */ color: oklch(60.5% 0.177 269.2);
Tailwind
colors: {
  custom: {
    50: '#949df1',
    500: '#5877ea',
    950: '#000000',
  },
}
SCSS
$custom: #5877ea;
$custom-light: #949df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ea",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 227.26,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60524,
    "c": 0.17655,
    "h": 269.2
  },
  "luminance": 0.21209
}

Semantic roles & 50–950 ramp

primary
#5877EA
secondary
#E9DEB5
accent
#AE0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5877EA

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

Preview Lab → · Contrast checker → · Palette generator →

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