#5881EF#5881EF
#5881EF is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.171 H 266.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5881EF |
|---|---|
| RGB | rgb(88, 129, 239) |
| HSL | hsl(224, 83%, 64%) |
| HSV | hsv(224, 63%, 94%) |
| CMYK | cmyk(63.2%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(56.09, 19.75, -59.74) |
| CIE-LCH | lch(56.09, 62.92, 288.30°) |
| OKLab | oklab(62.84% -0.0113 -0.1708) |
| OKLCH | oklch(62.84% 0.171 266.2) |
| XYZ | xyz(27.4494, 24.0047, 84.8314) |
| Luminance | 0.2401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.41
Dodger Blue
#3E82FC
ΔE00 2.92
Lightish Blue
#3D7AFD
ΔE00 3.06
Clear Blue
#247AFD
ΔE00 4.28
Cornflower
#6A79F7
ΔE00 4.80
Azure
#007FFF
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5881EF #EFC658
analogous
#58CCEF #5881EF #7B58EF
triadic
#5881EF #EF5881 #81EF58
tetradic
#5881EF #EF58CC #EFC658 #58EF7B
square
#5881EF #EF58CC #EFC658 #58EF7B
split-complementary
#5881EF #EF7B58 #CCEF58
monochromatic
#1240BB #2057EA #5881EF #90ABF4 #C8D5FA
Accessibility & contrast
On white
3.62
#5881EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#5881EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5881EF
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5881EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5881EF | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#2F80ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5881ef; /* rgb */ color: rgb(88, 129, 239); /* oklch */ color: oklch(62.8% 0.171 266.2);
Tailwind
colors: {
custom: {
50: '#95a5f5',
500: '#5881ef',
950: '#000000',
},
}SCSS
$custom: #5881ef; $custom-light: #95a5f5; $custom-dark: #000000;
JSON
{
"hex": "#5881ef",
"rgb": {
"r": 88,
"g": 129,
"b": 239
},
"hsl": {
"h": 223.709,
"s": 82.514,
"l": 64.118
},
"oklch": {
"l": 0.62844,
"c": 0.17118,
"h": 266.2
},
"luminance": 0.24007
}Semantic roles & 50–950 ramp
primary
#5881EF
secondary
#ECDDB7
accent
#A407DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85