#5881EB#5881EB

#5881EB is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.6% C 0.166 H 265.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5881EB
RGBrgb(88, 129, 235)
HSLhsl(223, 79%, 63%)
HSVhsv(223, 63%, 92%)
CMYKcmyk(62.6%, 45.1%, 0%, 7.8%)
CIE-LABlab(55.86, 18.40, -57.89)
CIE-LCHlch(55.86, 60.74, 287.64°)
OKLaboklab(62.59% -0.0119 -0.1654)
OKLCHoklch(62.59% 0.166 265.9)
XYZxyz(26.8650, 23.7710, 81.7537)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881EB #EBC258
analogous
#58CBEB #5881EB #7858EB
triadic
#5881EB #EB5881 #81EB58
tetradic
#5881EB #EB58CB #EBC258 #58EB78
square
#5881EB #EB58CB #EBC258 #58EB78
split-complementary
#5881EB #EB7858 #CBEB58
monochromatic
#1541B3 #2158E4 #5881EB #8FAAF2 #C5D3F8

Accessibility & contrast

On white

3.65
#5881EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5881EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881EB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881EB#FFFFFF#000000##000000
##5881EB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#3580E9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5881eb;
/* rgb */ color: rgb(88, 129, 235);
/* oklch */ color: oklch(62.6% 0.166 265.9);
Tailwind
colors: {
  custom: {
    50: '#94a5f2',
    500: '#5881eb',
    950: '#000000',
  },
}
SCSS
$custom: #5881eb;
$custom-light: #94a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5881eb",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 223.265,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62589,
    "c": 0.1658,
    "h": 265.9
  },
  "luminance": 0.23773
}

Semantic roles & 50–950 ramp

primary
#5881EB
secondary
#EADBB5
accent
#A10BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5881EB

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

Preview Lab → · Contrast checker → · Palette generator →

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