#5A95F7#5A95F7
#5A95F7 is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.5% C 0.158 H 260.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5A95F7 |
|---|---|
| RGB | rgb(90, 149, 247) |
| HSL | hsl(217, 91%, 66%) |
| HSV | hsv(217, 64%, 97%) |
| CMYK | cmyk(63.6%, 39.7%, 0%, 3.1%) |
| CIE-LAB | lab(61.98, 10.79, -54.74) |
| CIE-LCH | lch(61.98, 55.79, 281.15°) |
| OKLab | oklab(67.55% -0.0275 -0.1558) |
| OKLCH | oklch(67.55% 0.158 260) |
| XYZ | xyz(31.7464, 30.3809, 92.1687) |
| Luminance | 0.3038 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.43
Dark Sky Blue
#448EE4
ΔE00 4.14
Dodgerblue
#1E90FF
ΔE00 4.38
Soft Blue
#6488EA
ΔE00 5.22
Dodger Blue
#3E82FC
ΔE00 5.87
Faded Blue
#658CBB
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A95F7 #F7BC5A
analogous
#5AE3F7 #5A95F7 #6D5AF7
triadic
#5A95F7 #F75A95 #95F75A
tetradic
#5A95F7 #F75AE3 #F7BC5A #5AF76D
square
#5A95F7 #F75AE3 #F7BC5A #5AF76D
split-complementary
#5A95F7 #F76D5A #E3F75A
monochromatic
#0A53CD #2070F4 #5A95F7 #94BAFA #CFE0FD
Accessibility & contrast
On white
2.97
#5A95F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#5A95F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5A95F7
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A95F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A95F7 | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5a95f7; /* rgb */ color: rgb(90, 149, 247); /* oklch */ color: oklch(67.5% 0.158 260.0);
Tailwind
colors: {
custom: {
50: '#96b3fa',
500: '#5a95f7',
950: '#000000',
},
}SCSS
$custom: #5a95f7; $custom-light: #96b3fa; $custom-dark: #000000;
JSON
{
"hex": "#5a95f7",
"rgb": {
"r": 90,
"g": 149,
"b": 247
},
"hsl": {
"h": 217.452,
"s": 90.751,
"l": 66.078
},
"oklch": {
"l": 0.67548,
"c": 0.15825,
"h": 260
},
"luminance": 0.30384
}Semantic roles & 50–950 ramp
primary
#5A95F7
secondary
#F0DDBD
accent
#8F00E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1117
muted
#7E8085