#5A97F7#5A97F7
#5A97F7 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.0% C 0.156 H 259.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A97F7 |
|---|---|
| RGB | rgb(90, 151, 247) |
| HSL | hsl(217, 91%, 66%) |
| HSV | hsv(217, 64%, 97%) |
| CMYK | cmyk(63.6%, 38.9%, 0%, 3.1%) |
| CIE-LAB | lab(62.52, 9.61, -53.88) |
| CIE-LCH | lch(62.52, 54.73, 280.11°) |
| OKLab | oklab(67.97% -0.0294 -0.1533) |
| OKLCH | oklch(67.97% 0.156 259.1) |
| XYZ | xyz(32.0656, 31.0192, 92.2751) |
| Luminance | 0.3102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.79
Dark Sky Blue
#448EE4
ΔE00 4.27
Dodgerblue
#1E90FF
ΔE00 4.31
Soft Blue
#6488EA
ΔE00 5.87
Dodger Blue
#3E82FC
ΔE00 6.47
Faded Blue
#658CBB
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A97F7 #F7BA5A
analogous
#5AE5F7 #5A97F7 #6B5AF7
triadic
#5A97F7 #F75A97 #97F75A
tetradic
#5A97F7 #F75AE5 #F7BA5A #5AF76B
square
#5A97F7 #F75AE5 #F7BA5A #5AF76B
split-complementary
#5A97F7 #F76B5A #E5F75A
monochromatic
#0A56CD #2072F4 #5A97F7 #94BCFA #CFE1FD
Accessibility & contrast
On white
2.91
#5A97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#5A97F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5A97F7
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A97F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A97F7 | 1.00 | 2.91 | 7.20 | 7.20 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5a97f7; /* rgb */ color: rgb(90, 151, 247); /* oklch */ color: oklch(68.0% 0.156 259.1);
Tailwind
colors: {
custom: {
50: '#96b5fa',
500: '#5a97f7',
950: '#000000',
},
}SCSS
$custom: #5a97f7; $custom-light: #96b5fa; $custom-dark: #000000;
JSON
{
"hex": "#5a97f7",
"rgb": {
"r": 90,
"g": 151,
"b": 247
},
"hsl": {
"h": 216.688,
"s": 90.751,
"l": 66.078
},
"oklch": {
"l": 0.67969,
"c": 0.15609,
"h": 259.1
},
"luminance": 0.31022
}Semantic roles & 50–950 ramp
primary
#5A97F7
secondary
#F0DCBD
accent
#8C00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085