#5A97F2#5A97F2
#5A97F2 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.7% C 0.150 H 258.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5A97F2 |
|---|---|
| RGB | rgb(90, 151, 242) |
| HSL | hsl(216, 85%, 65%) |
| HSV | hsv(216, 63%, 95%) |
| CMYK | cmyk(62.8%, 37.6%, 0%, 5.1%) |
| CIE-LAB | lab(62.27, 7.94, -51.54) |
| CIE-LCH | lch(62.27, 52.15, 278.76°) |
| OKLab | oklab(67.69% -0.0305 -0.1464) |
| OKLCH | oklch(67.69% 0.15 258.2) |
| XYZ | xyz(31.3044, 30.7147, 88.2660) |
| Luminance | 0.3072 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.85
Dark Sky Blue
#448EE4
ΔE00 3.91
Dodgerblue
#1E90FF
ΔE00 4.08
Soft Blue
#6488EA
ΔE00 5.94
Dodger Blue
#3E82FC
ΔE00 6.51
Faded Blue
#658CBB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A97F2 #F2B55A
analogous
#5AE3F2 #5A97F2 #695AF2
triadic
#5A97F2 #F25A97 #97F25A
tetradic
#5A97F2 #F25AE3 #F2B55A #5AF269
square
#5A97F2 #F25AE3 #F2B55A #5AF269
split-complementary
#5A97F2 #F2695A #E3F25A
monochromatic
#0F57C2 #2173EE #5A97F2 #93BBF6 #CBDFFB
Accessibility & contrast
On white
2.94
#5A97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#5A97F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5A97F2
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A97F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A97F2 | 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)
#6F9EF6
Deuteranopia (green-blind)
#5A90F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5a97f2; /* rgb */ color: rgb(90, 151, 242); /* oklch */ color: oklch(67.7% 0.150 258.2);
Tailwind
colors: {
custom: {
50: '#96b5f7',
500: '#5a97f2',
950: '#000000',
},
}SCSS
$custom: #5a97f2; $custom-light: #96b5f7; $custom-dark: #000000;
JSON
{
"hex": "#5a97f2",
"rgb": {
"r": 90,
"g": 151,
"b": 242
},
"hsl": {
"h": 215.921,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.67685,
"c": 0.1496,
"h": 258.2
},
"luminance": 0.30718
}Semantic roles & 50–950 ramp
primary
#5A97F2
secondary
#EED9BA
accent
#8904E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085