#5A96F7#5A96F7
#5A96F7 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.8% C 0.157 H 259.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5A96F7 |
|---|---|
| RGB | rgb(90, 150, 247) |
| HSL | hsl(217, 91%, 66%) |
| HSV | hsv(217, 64%, 97%) |
| CMYK | cmyk(63.6%, 39.3%, 0%, 3.1%) |
| CIE-LAB | lab(62.25, 10.20, -54.31) |
| CIE-LCH | lch(62.25, 55.26, 280.63°) |
| OKLab | oklab(67.76% -0.0285 -0.1546) |
| OKLCH | oklch(67.76% 0.157 259.6) |
| XYZ | xyz(31.9053, 30.6987, 92.2217) |
| Luminance | 0.3070 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.58
Dark Sky Blue
#448EE4
ΔE00 4.19
Dodgerblue
#1E90FF
ΔE00 4.33
Soft Blue
#6488EA
ΔE00 5.55
Dodger Blue
#3E82FC
ΔE00 6.17
Faded Blue
#658CBB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A96F7 #F7BB5A
analogous
#5AE4F7 #5A96F7 #6C5AF7
triadic
#5A96F7 #F75A96 #96F75A
tetradic
#5A96F7 #F75AE4 #F7BB5A #5AF76C
square
#5A96F7 #F75AE4 #F7BB5A #5AF76C
split-complementary
#5A96F7 #F76C5A #E4F75A
monochromatic
#0A54CD #2071F4 #5A96F7 #94BBFA #CFE0FD
Accessibility & contrast
On white
2.94
#5A96F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#5A96F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5A96F7
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A96F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A96F7 | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9EFB
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5a96f7; /* rgb */ color: rgb(90, 150, 247); /* oklch */ color: oklch(67.8% 0.157 259.6);
Tailwind
colors: {
custom: {
50: '#96b4fa',
500: '#5a96f7',
950: '#000000',
},
}SCSS
$custom: #5a96f7; $custom-light: #96b4fa; $custom-dark: #000000;
JSON
{
"hex": "#5a96f7",
"rgb": {
"r": 90,
"g": 150,
"b": 247
},
"hsl": {
"h": 217.07,
"s": 90.751,
"l": 66.078
},
"oklch": {
"l": 0.67758,
"c": 0.15717,
"h": 259.6
},
"luminance": 0.30702
}Semantic roles & 50–950 ramp
primary
#5A96F7
secondary
#F0DCBD
accent
#8E00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085