#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 |
|---|---|
| RGB | rgb(88, 129, 235) |
| HSL | hsl(223, 79%, 63%) |
| HSV | hsv(223, 63%, 92%) |
| CMYK | cmyk(62.6%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(55.86, 18.40, -57.89) |
| CIE-LCH | lch(55.86, 60.74, 287.64°) |
| OKLab | oklab(62.59% -0.0119 -0.1654) |
| OKLCH | oklch(62.59% 0.166 265.9) |
| XYZ | xyz(26.8650, 23.7710, 81.7537) |
| Luminance | 0.2377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.43
Dodger Blue
#3E82FC
ΔE00 2.98
Lightish Blue
#3D7AFD
ΔE00 3.19
Clear Blue
#247AFD
ΔE00 4.27
Cornflower
#6A79F7
ΔE00 5.05
Azure
#007FFF
ΔE00 5.18
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 |
|---|---|---|---|---|
| ##5881EB | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.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