#5877EF#5877EF

#5877EF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.183 H 269.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5877EF
RGBrgb(88, 119, 239)
HSLhsl(228, 83%, 64%)
HSVhsv(228, 63%, 94%)
CMYKcmyk(63.2%, 50.2%, 0%, 6.3%)
CIE-LABlab(53.49, 25.86, -63.92)
CIE-LCHlch(53.49, 68.95, 292.03°)
OKLaboklab(60.86% -0.0019 -0.1832)
OKLCHoklch(60.86% 0.183 269.4)
XYZxyz(26.1960, 21.4980, 84.4137)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877EF #EFD058
analogous
#58C3EF #5877EF #8558EF
triadic
#5877EF #EF5877 #77EF58
tetradic
#5877EF #EF58C3 #EFD058 #58EF85
square
#5877EF #EF58C3 #EFD058 #58EF85
split-complementary
#5877EF #EF8558 #C3EF58
monochromatic
#1235BB #204AEA #5877EF #90A4F4 #C8D2FA

Accessibility & contrast

On white

3.96
#5877EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5877EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877EF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877EF#FFFFFF#000000##000000
##5877EF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5877ef;
/* rgb */ color: rgb(88, 119, 239);
/* oklch */ color: oklch(60.9% 0.183 269.4);
Tailwind
colors: {
  custom: {
    50: '#959df5',
    500: '#5877ef',
    950: '#000000',
  },
}
SCSS
$custom: #5877ef;
$custom-light: #959df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ef",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 227.682,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60864,
    "c": 0.18326,
    "h": 269.4
  },
  "luminance": 0.215
}

Semantic roles & 50–950 ramp

primary
#5877EF
secondary
#ECE1B7
accent
#B307DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5877EF

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

Preview Lab → · Contrast checker → · Palette generator →

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