#5887F1#5887F1
#5887F1 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.167 H 264.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5887F1 |
|---|---|
| RGB | rgb(88, 135, 241) |
| HSL | hsl(222, 85%, 65%) |
| HSV | hsv(222, 63%, 95%) |
| CMYK | cmyk(63.5%, 44%, 0%, 5.5%) |
| CIE-LAB | lab(57.80, 16.79, -58.11) |
| CIE-LCH | lch(57.80, 60.49, 286.12°) |
| OKLab | oklab(64.19% -0.0167 -0.1659) |
| OKLCH | oklch(64.19% 0.167 264.2) |
| XYZ | xyz(28.5601, 25.7509, 86.6673) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.74
Dodger Blue
#3E82FC
ΔE00 2.60
Cornflowerblue
#6495ED
ΔE00 4.31
Lightish Blue
#3D7AFD
ΔE00 4.35
Clear Blue
#247AFD
ΔE00 5.03
Azure
#007FFF
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5887F1 #F1C258
analogous
#58D3F1 #5887F1 #7658F1
triadic
#5887F1 #F15887 #87F158
tetradic
#5887F1 #F158D3 #F1C258 #58F176
square
#5887F1 #F158D3 #F1C258 #58F176
split-complementary
#5887F1 #F17658 #D3F158
monochromatic
#1046BF #205EEC #5887F1 #90B0F6 #C9D8FA
Accessibility & contrast
On white
3.41
#5887F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#5887F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5887F1
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5887F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5887F1 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5492F5
Deuteranopia (green-blind)
#3B84EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5887f1; /* rgb */ color: rgb(88, 135, 241); /* oklch */ color: oklch(64.2% 0.167 264.2);
Tailwind
colors: {
custom: {
50: '#95a9f6',
500: '#5887f1',
950: '#000000',
},
}SCSS
$custom: #5887f1; $custom-light: #95a9f6; $custom-dark: #000000;
JSON
{
"hex": "#5887f1",
"rgb": {
"r": 88,
"g": 135,
"b": 241
},
"hsl": {
"h": 221.569,
"s": 84.53,
"l": 64.51
},
"oklch": {
"l": 0.64191,
"c": 0.16679,
"h": 264.2
},
"luminance": 0.25754
}Semantic roles & 50–950 ramp
primary
#5887F1
secondary
#EDDDB8
accent
#9D05E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85