#5A97F0#5A97F0
#5A97F0 is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.6% C 0.147 H 257.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5A97F0 |
|---|---|
| RGB | rgb(90, 151, 240) |
| HSL | hsl(216, 83%, 65%) |
| HSV | hsv(216, 63%, 94%) |
| CMYK | cmyk(62.5%, 37.1%, 0%, 5.9%) |
| CIE-LAB | lab(62.16, 7.28, -50.60) |
| CIE-LCH | lch(62.16, 51.12, 278.19°) |
| OKLab | oklab(67.57% -0.031 -0.1437) |
| OKLCH | oklch(67.57% 0.147 257.8) |
| XYZ | xyz(31.0056, 30.5952, 86.6927) |
| Luminance | 0.3060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.91
Dark Sky Blue
#448EE4
ΔE00 3.77
Dodgerblue
#1E90FF
ΔE00 4.01
Soft Blue
#6488EA
ΔE00 5.98
Faded Blue
#658CBB
ΔE00 6.46
Dodger Blue
#3E82FC
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A97F0 #F0B35A
analogous
#5AE2F0 #5A97F0 #685AF0
triadic
#5A97F0 #F05A97 #97F05A
tetradic
#5A97F0 #F05AE2 #F0B35A #5AF068
square
#5A97F0 #F05AE2 #F0B35A #5AF068
split-complementary
#5A97F0 #F0685A #E2F05A
monochromatic
#1158BE #2274EB #5A97F0 #92BAF5 #CADEFA
Accessibility & contrast
On white
2.95
#5A97F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#5A97F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5A97F0
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A97F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A97F0 | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709EF4
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5a97f0; /* rgb */ color: rgb(90, 151, 240); /* oklch */ color: oklch(67.6% 0.147 257.8);
Tailwind
colors: {
custom: {
50: '#95b5f5',
500: '#5a97f0',
950: '#000000',
},
}SCSS
$custom: #5a97f0; $custom-light: #95b5f5; $custom-dark: #000000;
JSON
{
"hex": "#5a97f0",
"rgb": {
"r": 90,
"g": 151,
"b": 240
},
"hsl": {
"h": 215.6,
"s": 83.333,
"l": 64.706
},
"oklch": {
"l": 0.67572,
"c": 0.147,
"h": 257.8
},
"luminance": 0.30598
}Semantic roles & 50–950 ramp
primary
#5A97F0
secondary
#EDD8B9
accent
#8706E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085