#5877E3#5877E3

#5877E3 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.1% C 0.167 H 268.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5877E3
RGBrgb(88, 119, 227)
HSLhsl(227, 71%, 62%)
HSVhsv(227, 61%, 89%)
CMYKcmyk(61.2%, 47.6%, 0%, 11%)
CIE-LABlab(52.74, 21.82, -58.41)
CIE-LCHlch(52.74, 62.35, 290.49°)
OKLaboklab(60.06% -0.0032 -0.167)
OKLCHoklch(60.06% 0.167 268.9)
XYZxyz(24.4818, 20.8123, 75.3852)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877E3 #E3C458
analogous
#58BCE3 #5877E3 #7F58E3
triadic
#5877E3 #E35877 #77E358
tetradic
#5877E3 #E358BC #E3C458 #58E37F
square
#5877E3 #E358BC #E3C458 #58E37F
split-complementary
#5877E3 #E37F58 #BCE358
monochromatic
#1C3AA5 #244DD9 #5877E3 #8CA2EC #C1CCF5

Accessibility & contrast

On white

4.07
#5877E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5877E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877E3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877E3#FFFFFF#000000##000000
##5877E31.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4084E7
Deuteranopia (green-blind)
#2678E1
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5877e3;
/* rgb */ color: rgb(88, 119, 227);
/* oklch */ color: oklch(60.1% 0.167 268.9);
Tailwind
colors: {
  custom: {
    50: '#939dec',
    500: '#5877e3',
    950: '#000000',
  },
}
SCSS
$custom: #5877e3;
$custom-light: #939dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5877e3",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 227
  },
  "hsl": {
    "h": 226.619,
    "s": 71.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.16706,
    "h": 268.9
  },
  "luminance": 0.20814
}

Semantic roles & 50–950 ramp

primary
#5877E3
secondary
#E5DAB2
accent
#A812D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5877E3

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

Preview Lab → · Contrast checker → · Palette generator →

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