#5997F8#5997F8
#5997F8 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.0% C 0.158 H 259.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5997F8 |
|---|---|
| RGB | rgb(89, 151, 248) |
| HSL | hsl(217, 92%, 66%) |
| HSV | hsv(217, 64%, 97%) |
| CMYK | cmyk(64.1%, 39.1%, 0%, 2.7%) |
| CIE-LAB | lab(62.53, 9.77, -54.41) |
| CIE-LCH | lch(62.53, 55.29, 280.18°) |
| OKLab | oklab(67.98% -0.03 -0.1549) |
| OKLCH | oklch(67.98% 0.158 259) |
| XYZ | xyz(32.1237, 31.0313, 93.0855) |
| Luminance | 0.3103 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.90
Dodgerblue
#1E90FF
ΔE00 4.23
Dark Sky Blue
#448EE4
ΔE00 4.26
Soft Blue
#6488EA
ΔE00 5.95
Dodger Blue
#3E82FC
ΔE00 6.47
Faded Blue
#658CBB
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5997F8 #F8BA59
analogous
#59E6F8 #5997F8 #6A59F8
triadic
#5997F8 #F85997 #97F859
tetradic
#5997F8 #F859E6 #F8BA59 #59F86A
square
#5997F8 #F859E6 #F8BA59 #59F86A
split-complementary
#5997F8 #F86A59 #E6F859
monochromatic
#0956CE #1E72F6 #5997F8 #94BCFA #CEE1FD
Accessibility & contrast
On white
2.91
#5997F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#5997F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5997F8
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5997F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5997F8 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#5490F6
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5997f8; /* rgb */ color: rgb(89, 151, 248); /* oklch */ color: oklch(68.0% 0.158 259.0);
Tailwind
colors: {
custom: {
50: '#96b5fb',
500: '#5997f8',
950: '#000000',
},
}SCSS
$custom: #5997f8; $custom-light: #96b5fb; $custom-dark: #000000;
JSON
{
"hex": "#5997f8",
"rgb": {
"r": 89,
"g": 151,
"b": 248
},
"hsl": {
"h": 216.604,
"s": 91.908,
"l": 66.078
},
"oklch": {
"l": 0.67982,
"c": 0.15776,
"h": 259
},
"luminance": 0.31034
}Semantic roles & 50–950 ramp
primary
#5997F8
secondary
#F1DCBC
accent
#8C00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085