#5897F9#5897F9
#5897F9 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.0% C 0.159 H 258.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5897F9 |
|---|---|
| RGB | rgb(88, 151, 249) |
| HSL | hsl(217, 93%, 66%) |
| HSV | hsv(217, 65%, 98%) |
| CMYK | cmyk(64.7%, 39.4%, 0%, 2.4%) |
| CIE-LAB | lab(62.55, 9.94, -54.95) |
| CIE-LCH | lch(62.55, 55.84, 280.26°) |
| OKLab | oklab(68% -0.0306 -0.1564) |
| OKLCH | oklch(68% 0.159 258.9) |
| XYZ | xyz(32.1839, 31.0443, 93.9002) |
| Luminance | 0.3105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.02
Dodgerblue
#1E90FF
ΔE00 4.16
Dark Sky Blue
#448EE4
ΔE00 4.25
Soft Blue
#6488EA
ΔE00 6.03
Dodger Blue
#3E82FC
ΔE00 6.48
Faded Blue
#658CBB
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5897F9 #F9BA58
analogous
#58E7F9 #5897F9 #6958F9
triadic
#5897F9 #F95897 #97F958
tetradic
#5897F9 #F958E7 #F9BA58 #58F969
square
#5897F9 #F958E7 #F9BA58 #58F969
split-complementary
#5897F9 #F96958 #E7F958
monochromatic
#0756CF #1D72F7 #5897F9 #93BCFB #CEE1FD
Accessibility & contrast
On white
2.91
#5897F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#5897F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5897F9
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5897F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5897F9 | 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)
#6B9FFD
Deuteranopia (green-blind)
#5390F7
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5897f9; /* rgb */ color: rgb(88, 151, 249); /* oklch */ color: oklch(68.0% 0.159 258.9);
Tailwind
colors: {
custom: {
50: '#96b5fc',
500: '#5897f9',
950: '#000000',
},
}SCSS
$custom: #5897f9; $custom-light: #96b5fc; $custom-dark: #000000;
JSON
{
"hex": "#5897f9",
"rgb": {
"r": 88,
"g": 151,
"b": 249
},
"hsl": {
"h": 216.522,
"s": 93.064,
"l": 66.078
},
"oklch": {
"l": 0.67996,
"c": 0.15941,
"h": 258.9
},
"luminance": 0.31047
}Semantic roles & 50–950 ramp
primary
#5897F9
secondary
#F1DCBC
accent
#8C00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085