#5881EA#5881EA

#5881EA is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.5% C 0.164 H 265.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5881EA
RGBrgb(88, 129, 234)
HSLhsl(223, 78%, 63%)
HSVhsv(223, 62%, 92%)
CMYKcmyk(62.4%, 44.9%, 0%, 8.2%)
CIE-LABlab(55.80, 18.07, -57.42)
CIE-LCHlch(55.80, 60.20, 287.46°)
OKLaboklab(62.53% -0.012 -0.164)
OKLCHoklch(62.53% 0.164 265.8)
XYZxyz(26.7209, 23.7133, 80.9949)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5881EA #EAC158
analogous
#58CAEA #5881EA #7858EA
triadic
#5881EA #EA5881 #81EA58
tetradic
#5881EA #EA58CA #EAC158 #58EA78
square
#5881EA #EA58CA #EAC158 #58EA78
split-complementary
#5881EA #EA7858 #CAEA58
monochromatic
#1642B1 #2258E3 #5881EA #8EAAF1 #C5D3F8

Accessibility & contrast

On white

3.66
#5881EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5881EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5881EA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5881EA#FFFFFF#000000##000000
##5881EA1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#367FE8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5881ea;
/* rgb */ color: rgb(88, 129, 234);
/* oklch */ color: oklch(62.5% 0.164 265.8);
Tailwind
colors: {
  custom: {
    50: '#94a5f1',
    500: '#5881ea',
    950: '#000000',
  },
}
SCSS
$custom: #5881ea;
$custom-light: #94a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5881ea",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 223.151,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62526,
    "c": 0.16445,
    "h": 265.8
  },
  "luminance": 0.23716
}

Semantic roles & 50–950 ramp

primary
#5881EA
secondary
#E9DAB5
accent
#A00CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5881EA

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

Preview Lab → · Contrast checker → · Palette generator →

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