#5877E7#5877E7

#5877E7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.172 H 269.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5877E7
RGBrgb(88, 119, 231)
HSLhsl(227, 75%, 63%)
HSVhsv(227, 62%, 91%)
CMYKcmyk(61.9%, 48.5%, 0%, 9.4%)
CIE-LABlab(52.99, 23.17, -60.26)
CIE-LCHlch(52.99, 64.56, 291.03°)
OKLaboklab(60.32% -0.0027 -0.1725)
OKLCHoklch(60.32% 0.172 269.1)
XYZxyz(25.0402, 21.0357, 78.3265)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877E7 #E7C858
analogous
#58BEE7 #5877E7 #8058E7
triadic
#5877E7 #E75877 #77E758
tetradic
#5877E7 #E758BE #E7C858 #58E780
square
#5877E7 #E758BE #E7C858 #58E780
split-complementary
#5877E7 #E78058 #BEE758
monochromatic
#1939AC #224BDF #5877E7 #8EA3EF #C3CEF6

Accessibility & contrast

On white

4.03
#5877E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5877E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877E7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877E7#FFFFFF#000000##000000
##5877E71.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EB
Deuteranopia (green-blind)
#1D78E5
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5877e7;
/* rgb */ color: rgb(88, 119, 231);
/* oklch */ color: oklch(60.3% 0.172 269.1);
Tailwind
colors: {
  custom: {
    50: '#949def',
    500: '#5877e7',
    950: '#000000',
  },
}
SCSS
$custom: #5877e7;
$custom-light: #949def;
$custom-dark: #000000;
JSON
{
  "hex": "#5877e7",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 226.993,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60322,
    "c": 0.17249,
    "h": 269.1
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#5877E7
secondary
#E7DCB3
accent
#AC0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5877E7

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

Preview Lab → · Contrast checker → · Palette generator →

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