#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 |
|---|---|
| RGB | rgb(88, 129, 234) |
| HSL | hsl(223, 78%, 63%) |
| HSV | hsv(223, 62%, 92%) |
| CMYK | cmyk(62.4%, 44.9%, 0%, 8.2%) |
| CIE-LAB | lab(55.80, 18.07, -57.42) |
| CIE-LCH | lch(55.80, 60.20, 287.46°) |
| OKLab | oklab(62.53% -0.012 -0.164) |
| OKLCH | oklch(62.53% 0.164 265.8) |
| XYZ | xyz(26.7209, 23.7133, 80.9949) |
| Luminance | 0.2372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.45
Dodger Blue
#3E82FC
ΔE00 3.01
Lightish Blue
#3D7AFD
ΔE00 3.23
Clear Blue
#247AFD
ΔE00 4.28
Cornflower
#6A79F7
ΔE00 5.11
Azure
#007FFF
ΔE00 5.18
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 |
|---|---|---|---|---|
| ##5881EA | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.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