#5877DE#5877DE

#5877DE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.160 H 268.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5877DE
RGBrgb(88, 119, 222)
HSLhsl(226, 67%, 61%)
HSVhsv(226, 60%, 87%)
CMYKcmyk(60.4%, 46.4%, 0%, 12.9%)
CIE-LABlab(52.44, 20.15, -56.08)
CIE-LCHlch(52.44, 59.59, 289.76°)
OKLaboklab(59.73% -0.0039 -0.1602)
OKLCHoklch(59.73% 0.16 268.6)
XYZxyz(23.8017, 20.5403, 71.8035)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877DE #DEBF58
analogous
#58BADE #5877DE #7C58DE
triadic
#5877DE #DE5877 #77DE58
tetradic
#5877DE #DE58BA #DEBF58 #58DE7C
square
#5877DE #DE58BA #DEBF58 #58DE7C
split-complementary
#5877DE #DE7C58 #BADE58
monochromatic
#1F3C9D #2950D0 #5877DE #8BA1E8 #BECAF2

Accessibility & contrast

On white

4.11
#5877DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5877DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877DE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877DE#FFFFFF#000000##000000
##5877DE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E2
Deuteranopia (green-blind)
#2F77DC
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5877de;
/* rgb */ color: rgb(88, 119, 222);
/* oklch */ color: oklch(59.7% 0.160 268.6);
Tailwind
colors: {
  custom: {
    50: '#929de9',
    500: '#5877de',
    950: '#000000',
  },
}
SCSS
$custom: #5877de;
$custom-light: #929de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5877de",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 222
  },
  "hsl": {
    "h": 226.119,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59731,
    "c": 0.16024,
    "h": 268.6
  },
  "luminance": 0.20542
}

Semantic roles & 50–950 ramp

primary
#5877DE
secondary
#E2D7B0
accent
#A417CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5877DE

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

Preview Lab → · Contrast checker → · Palette generator →

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