#5877EE#5877EE

#5877EE is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.8% C 0.182 H 269.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5877EE
RGBrgb(88, 119, 238)
HSLhsl(228, 82%, 64%)
HSVhsv(228, 63%, 93%)
CMYKcmyk(63%, 50%, 0%, 6.7%)
CIE-LABlab(53.43, 25.52, -63.46)
CIE-LCHlch(53.43, 68.40, 291.91°)
OKLaboklab(60.8% -0.002 -0.1819)
OKLCHoklch(60.8% 0.182 269.4)
XYZxyz(26.0487, 21.4391, 83.6378)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877EE #EECF58
analogous
#58C2EE #5877EE #8458EE
triadic
#5877EE #EE5877 #77EE58
tetradic
#5877EE #EE58C2 #EECF58 #58EE84
square
#5877EE #EE58C2 #EECF58 #58EE84
split-complementary
#5877EE #EE8458 #C2EE58
monochromatic
#1335B9 #204AE8 #5877EE #90A4F4 #C7D1F9

Accessibility & contrast

On white

3.97
#5877EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5877EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877EE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877EE#FFFFFF#000000##000000
##5877EE1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F2
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5877ee;
/* rgb */ color: rgb(88, 119, 238);
/* oklch */ color: oklch(60.8% 0.182 269.4);
Tailwind
colors: {
  custom: {
    50: '#959df4',
    500: '#5877ee',
    950: '#000000',
  },
}
SCSS
$custom: #5877ee;
$custom-light: #959df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ee",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 227.6,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60795,
    "c": 0.18192,
    "h": 269.4
  },
  "luminance": 0.21441
}

Semantic roles & 50–950 ramp

primary
#5877EE
secondary
#EBE0B7
accent
#B208DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5877EE

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

Preview Lab → · Contrast checker → · Palette generator →

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