#5877E9#5877E9

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

Color values

HEX#5877E9
RGBrgb(88, 119, 233)
HSLhsl(227, 77%, 63%)
HSVhsv(227, 62%, 91%)
CMYKcmyk(62.2%, 48.9%, 0%, 8.6%)
CIE-LABlab(53.11, 23.84, -61.18)
CIE-LCHlch(53.11, 65.66, 291.29°)
OKLaboklab(60.46% -0.0025 -0.1752)
OKLCHoklch(60.46% 0.175 269.2)
XYZxyz(25.3243, 21.1493, 79.8227)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877E9 #E9CA58
analogous
#58C0E9 #5877E9 #8158E9
triadic
#5877E9 #E95877 #77E958
tetradic
#5877E9 #E958C0 #E9CA58 #58E981
square
#5877E9 #E958C0 #E9CA58 #58E981
split-complementary
#5877E9 #E98158 #C0E958
monochromatic
#1738AF #224BE2 #5877E9 #8EA3F0 #C4CFF7

Accessibility & contrast

On white

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

On black

5.23
#5877E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877E9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877E9#FFFFFF#000000##000000
##5877E91.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86ED
Deuteranopia (green-blind)
#1879E7
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5877e9;
/* rgb */ color: rgb(88, 119, 233);
/* oklch */ color: oklch(60.5% 0.175 269.2);
Tailwind
colors: {
  custom: {
    50: '#949df1',
    500: '#5877e9',
    950: '#000000',
  },
}
SCSS
$custom: #5877e9;
$custom-light: #949df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5877e9",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 233
  },
  "hsl": {
    "h": 227.172,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60456,
    "c": 0.1752,
    "h": 269.2
  },
  "luminance": 0.21152
}

Semantic roles & 50–950 ramp

primary
#5877E9
secondary
#E8DDB4
accent
#AD0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5877E9

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

Preview Lab → · Contrast checker → · Palette generator →

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