#5A97F3#5A97F3
#5A97F3 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.7% C 0.151 H 258.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5A97F3 |
|---|---|
| RGB | rgb(90, 151, 243) |
| HSL | hsl(216, 86%, 65%) |
| HSV | hsv(216, 63%, 95%) |
| CMYK | cmyk(63%, 37.9%, 0%, 4.7%) |
| CIE-LAB | lab(62.32, 8.28, -52.01) |
| CIE-LCH | lch(62.32, 52.67, 279.04°) |
| OKLab | oklab(67.74% -0.0303 -0.1478) |
| OKLCH | oklch(67.74% 0.151 258.4) |
| XYZ | xyz(31.4550, 30.7750, 89.0591) |
| Luminance | 0.3078 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.82
Dark Sky Blue
#448EE4
ΔE00 3.98
Dodgerblue
#1E90FF
ΔE00 4.12
Soft Blue
#6488EA
ΔE00 5.92
Dodger Blue
#3E82FC
ΔE00 6.50
Faded Blue
#658CBB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A97F3 #F3B65A
analogous
#5AE4F3 #5A97F3 #695AF3
triadic
#5A97F3 #F35A97 #97F35A
tetradic
#5A97F3 #F35AE4 #F3B65A #5AF369
square
#5A97F3 #F35AE4 #F3B65A #5AF369
split-complementary
#5A97F3 #F3695A #E4F35A
monochromatic
#0E57C4 #2173EF #5A97F3 #93BBF7 #CCDFFB
Accessibility & contrast
On white
2.93
#5A97F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#5A97F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5A97F3
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A97F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A97F3 | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9EF7
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5a97f3; /* rgb */ color: rgb(90, 151, 243); /* oklch */ color: oklch(67.7% 0.151 258.4);
Tailwind
colors: {
custom: {
50: '#96b5f7',
500: '#5a97f3',
950: '#000000',
},
}SCSS
$custom: #5a97f3; $custom-light: #96b5f7; $custom-dark: #000000;
JSON
{
"hex": "#5a97f3",
"rgb": {
"r": 90,
"g": 151,
"b": 243
},
"hsl": {
"h": 216.078,
"s": 86.441,
"l": 65.294
},
"oklch": {
"l": 0.67741,
"c": 0.1509,
"h": 258.4
},
"luminance": 0.30778
}Semantic roles & 50–950 ramp
primary
#5A97F3
secondary
#EEDABB
accent
#8903E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085