#5881EC#5881EC

#5881EC is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.7% C 0.167 H 266.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5881EC
RGBrgb(88, 129, 236)
HSLhsl(223, 80%, 64%)
HSVhsv(223, 63%, 93%)
CMYKcmyk(62.7%, 45.3%, 0%, 7.5%)
CIE-LABlab(55.92, 18.74, -58.35)
CIE-LCHlch(55.92, 61.29, 287.81°)
OKLaboklab(62.65% -0.0117 -0.1667)
OKLCHoklch(62.65% 0.167 266)
XYZxyz(27.0099, 23.8289, 82.5167)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881EC #ECC358
analogous
#58CBEC #5881EC #7958EC
triadic
#5881EC #EC5881 #81EC58
tetradic
#5881EC #EC58CB #ECC358 #58EC79
square
#5881EC #EC58CB #ECC358 #58EC79
split-complementary
#5881EC #EC7958 #CBEC58
monochromatic
#1541B5 #2158E6 #5881EC #8FAAF2 #C6D4F9

Accessibility & contrast

On white

3.64
#5881EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5881EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881EC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881EC#FFFFFF#000000##000000
##5881EC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#3380EA
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5881ec;
/* rgb */ color: rgb(88, 129, 236);
/* oklch */ color: oklch(62.7% 0.167 266.0);
Tailwind
colors: {
  custom: {
    50: '#94a5f3',
    500: '#5881ec',
    950: '#000000',
  },
}
SCSS
$custom: #5881ec;
$custom-light: #94a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5881ec",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 223.378,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62652,
    "c": 0.16715,
    "h": 266
  },
  "luminance": 0.23831
}

Semantic roles & 50–950 ramp

primary
#5881EC
secondary
#EADCB6
accent
#A20ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5881EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5881EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva