#5788F2#5788F2
#5788F2 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.4% C 0.167 H 263.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5788F2 |
|---|---|
| RGB | rgb(87, 136, 242) |
| HSL | hsl(221, 86%, 65%) |
| HSV | hsv(221, 64%, 95%) |
| CMYK | cmyk(64%, 43.8%, 0%, 5.1%) |
| CIE-LAB | lab(58.08, 16.36, -58.22) |
| CIE-LCH | lch(58.08, 60.48, 285.70°) |
| OKLab | oklab(64.41% -0.0184 -0.1663) |
| OKLCH | oklch(64.41% 0.167 263.7) |
| XYZ | xyz(28.7561, 26.0427, 87.4985) |
| Luminance | 0.2605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.98
Dodger Blue
#3E82FC
ΔE00 2.60
Cornflowerblue
#6495ED
ΔE00 3.99
Lightish Blue
#3D7AFD
ΔE00 4.59
Dark Sky Blue
#448EE4
ΔE00 4.94
Azure
#007FFF
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5788F2 #F2C157
analogous
#57D6F2 #5788F2 #7457F2
triadic
#5788F2 #F25788 #88F257
tetradic
#5788F2 #F257D6 #F2C157 #57F274
square
#5788F2 #F257D6 #F2C157 #57F274
split-complementary
#5788F2 #F27457 #D6F257
monochromatic
#0F47C0 #1E60EE #5788F2 #90B0F6 #C9D8FB
Accessibility & contrast
On white
3.38
#5788F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#5788F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5788F2
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5788F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5788F2 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#3C85F0
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5788f2; /* rgb */ color: rgb(87, 136, 242); /* oklch */ color: oklch(64.4% 0.167 263.7);
Tailwind
colors: {
custom: {
50: '#95aaf7',
500: '#5788f2',
950: '#000000',
},
}SCSS
$custom: #5788f2; $custom-light: #95aaf7; $custom-dark: #000000;
JSON
{
"hex": "#5788f2",
"rgb": {
"r": 87,
"g": 136,
"b": 242
},
"hsl": {
"h": 221.032,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.6441,
"c": 0.16729,
"h": 263.7
},
"luminance": 0.26045
}Semantic roles & 50–950 ramp
primary
#5788F2
secondary
#EDDCB8
accent
#9C03E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85