#5877ED#5877ED

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

Color values

HEX#5877ED
RGBrgb(88, 119, 237)
HSLhsl(228, 81%, 64%)
HSVhsv(228, 63%, 93%)
CMYKcmyk(62.9%, 49.8%, 0%, 7.1%)
CIE-LABlab(53.36, 25.19, -63.01)
CIE-LCHlch(53.36, 67.86, 291.79°)
OKLaboklab(60.73% -0.0021 -0.1806)
OKLCHoklch(60.73% 0.181 269.3)
XYZxyz(25.9022, 21.3805, 82.8662)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877ED #EDCE58
analogous
#58C1ED #5877ED #8358ED
triadic
#5877ED #ED5877 #77ED58
tetradic
#5877ED #ED58C1 #EDCE58 #58ED83
square
#5877ED #ED58C1 #EDCE58 #58ED83
split-complementary
#5877ED #ED8358 #C1ED58
monochromatic
#1436B7 #214AE7 #5877ED #8FA4F3 #C6D1F9

Accessibility & contrast

On white

3.98
#5877ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5877ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877ED
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877ED#FFFFFF#000000##000000
##5877ED1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F1
Deuteranopia (green-blind)
#0579EB
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5877ed;
/* rgb */ color: rgb(88, 119, 237);
/* oklch */ color: oklch(60.7% 0.181 269.3);
Tailwind
colors: {
  custom: {
    50: '#959df3',
    500: '#5877ed',
    950: '#000000',
  },
}
SCSS
$custom: #5877ed;
$custom-light: #959df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ed",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 227.517,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60727,
    "c": 0.18058,
    "h": 269.3
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#5877ED
secondary
#EBE0B6
accent
#B109DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5877ED

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

Preview Lab → · Contrast checker → · Palette generator →

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