#5A97F1#5A97F1
#5A97F1 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.6% C 0.148 H 258.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5A97F1 |
|---|---|
| RGB | rgb(90, 151, 241) |
| HSL | hsl(216, 84%, 65%) |
| HSV | hsv(216, 63%, 95%) |
| CMYK | cmyk(62.7%, 37.3%, 0%, 5.5%) |
| CIE-LAB | lab(62.22, 7.61, -51.07) |
| CIE-LCH | lch(62.22, 51.64, 278.48°) |
| OKLab | oklab(67.63% -0.0308 -0.1451) |
| OKLCH | oklch(67.63% 0.148 258) |
| XYZ | xyz(31.1546, 30.6548, 87.4772) |
| Luminance | 0.3066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.88
Dark Sky Blue
#448EE4
ΔE00 3.84
Dodgerblue
#1E90FF
ΔE00 4.05
Soft Blue
#6488EA
ΔE00 5.96
Faded Blue
#658CBB
ΔE00 6.52
Dodger Blue
#3E82FC
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A97F1 #F1B45A
analogous
#5AE2F1 #5A97F1 #695AF1
triadic
#5A97F1 #F15A97 #97F15A
tetradic
#5A97F1 #F15AE2 #F1B45A #5AF169
square
#5A97F1 #F15AE2 #F1B45A #5AF169
split-complementary
#5A97F1 #F1695A #E2F15A
monochromatic
#1057C0 #2273EC #5A97F1 #92BBF6 #CBDEFB
Accessibility & contrast
On white
2.94
#5A97F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#5A97F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5A97F1
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A97F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A97F1 | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709EF5
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5a97f1; /* rgb */ color: rgb(90, 151, 241); /* oklch */ color: oklch(67.6% 0.148 258.0);
Tailwind
colors: {
custom: {
50: '#96b5f6',
500: '#5a97f1',
950: '#000000',
},
}SCSS
$custom: #5a97f1; $custom-light: #96b5f6; $custom-dark: #000000;
JSON
{
"hex": "#5a97f1",
"rgb": {
"r": 90,
"g": 151,
"b": 241
},
"hsl": {
"h": 215.762,
"s": 84.358,
"l": 64.902
},
"oklch": {
"l": 0.67628,
"c": 0.1483,
"h": 258
},
"luminance": 0.30658
}Semantic roles & 50–950 ramp
primary
#5A97F1
secondary
#EDD8BA
accent
#8805E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085