#5887FA#5887FA
#5887FA is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.8% C 0.179 H 265.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5887FA |
|---|---|
| RGB | rgb(88, 135, 250) |
| HSL | hsl(223, 94%, 66%) |
| HSV | hsv(223, 65%, 98%) |
| CMYK | cmyk(64.8%, 46%, 0%, 2%) |
| CIE-LAB | lab(58.32, 19.84, -62.24) |
| CIE-LCH | lch(58.32, 65.33, 287.68°) |
| OKLab | oklab(64.76% -0.0153 -0.1781) |
| OKLCH | oklch(64.76% 0.179 265.1) |
| XYZ | xyz(29.9378, 26.3019, 93.9230) |
| Luminance | 0.2631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.08
Dodger Blue
#3E82FC
ΔE00 2.76
Lightish Blue
#3D7AFD
ΔE00 4.34
Cornflowerblue
#6495ED
ΔE00 4.48
Clear Blue
#247AFD
ΔE00 5.21
Azure
#007FFF
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5887FA #FACB58
analogous
#58D8FA #5887FA #7A58FA
triadic
#5887FA #FA5887 #87FA58
tetradic
#5887FA #FA58D8 #FACB58 #58FA7A
square
#5887FA #FA58D8 #FACB58 #58FA7A
split-complementary
#5887FA #FA7A58 #D8FA58
monochromatic
#0641D1 #1D5CF8 #5887FA #93B2FC #CFDCFE
Accessibility & contrast
On white
3.35
#5887FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#5887FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5887FA
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5887FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5887FA | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#2D85F8
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5887fa; /* rgb */ color: rgb(88, 135, 250); /* oklch */ color: oklch(64.8% 0.179 265.1);
Tailwind
colors: {
custom: {
50: '#96a9fd',
500: '#5887fa',
950: '#000000',
},
}SCSS
$custom: #5887fa; $custom-light: #96a9fd; $custom-dark: #000000;
JSON
{
"hex": "#5887fa",
"rgb": {
"r": 88,
"g": 135,
"b": 250
},
"hsl": {
"h": 222.593,
"s": 94.186,
"l": 66.275
},
"oklch": {
"l": 0.6476,
"c": 0.17876,
"h": 265.1
},
"luminance": 0.26305
}Semantic roles & 50–950 ramp
primary
#5887FA
secondary
#F1E2BC
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86