#5881F5#5881F5
#5881F5 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.179 H 266.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5881F5 |
|---|---|
| RGB | rgb(88, 129, 245) |
| HSL | hsl(224, 89%, 65%) |
| HSV | hsv(224, 64%, 96%) |
| CMYK | cmyk(64.1%, 47.3%, 0%, 3.9%) |
| CIE-LAB | lab(56.45, 21.78, -62.49) |
| CIE-LCH | lch(56.45, 66.17, 289.22°) |
| OKLab | oklab(63.23% -0.0105 -0.1789) |
| OKLCH | oklch(63.23% 0.179 266.6) |
| XYZ | xyz(28.3505, 24.3652, 89.5774) |
| Luminance | 0.2437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.56
Dodger Blue
#3E82FC
ΔE00 2.95
Lightish Blue
#3D7AFD
ΔE00 3.01
Clear Blue
#247AFD
ΔE00 4.38
Cornflower
#6A79F7
ΔE00 4.50
Azure
#007FFF
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5881F5 #F5CC58
analogous
#58D0F5 #5881F5 #7D58F5
triadic
#5881F5 #F55881 #81F558
tetradic
#5881F5 #F558D0 #F5CC58 #58F57D
square
#5881F5 #F558D0 #F5CC58 #58F57D
split-complementary
#5881F5 #F57D58 #D0F558
monochromatic
#0C3DC7 #1E55F2 #5881F5 #92ADF8 #CBD8FC
Accessibility & contrast
On white
3.58
#5881F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#5881F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5881F5
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5881F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5881F5 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#2381F3
Tritanopia (blue-blind)
#009CAF
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5881f5; /* rgb */ color: rgb(88, 129, 245); /* oklch */ color: oklch(63.2% 0.179 266.6);
Tailwind
colors: {
custom: {
50: '#96a5f9',
500: '#5881f5',
950: '#000000',
},
}SCSS
$custom: #5881f5; $custom-light: #96a5f9; $custom-dark: #000000;
JSON
{
"hex": "#5881f5",
"rgb": {
"r": 88,
"g": 129,
"b": 245
},
"hsl": {
"h": 224.331,
"s": 88.701,
"l": 65.294
},
"oklch": {
"l": 0.63234,
"c": 0.17921,
"h": 266.6
},
"luminance": 0.24368
}Semantic roles & 50–950 ramp
primary
#5881F5
secondary
#EFE1BA
accent
#A900E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85