#5A97EC#5A97EC
#5A97EC is a light, vivid cyan. Relative luminance 0.304; OKLCH L 67.4% C 0.142 H 257.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5A97EC |
|---|---|
| RGB | rgb(90, 151, 236) |
| HSL | hsl(215, 79%, 64%) |
| HSV | hsv(215, 62%, 93%) |
| CMYK | cmyk(61.9%, 36%, 0%, 7.5%) |
| CIE-LAB | lab(61.96, 5.96, -48.72) |
| CIE-LCH | lch(61.96, 49.08, 276.97°) |
| OKLab | oklab(67.35% -0.0319 -0.1382) |
| OKLCH | oklch(67.35% 0.142 257) |
| XYZ | xyz(30.4180, 30.3602, 83.5977) |
| Luminance | 0.3036 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.11
Dark Sky Blue
#448EE4
ΔE00 3.53
Dodgerblue
#1E90FF
ΔE00 3.89
Soft Blue
#6488EA
ΔE00 6.09
Faded Blue
#658CBB
ΔE00 6.21
Azure (survey)
#069AF3
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A97EC #ECAF5A
analogous
#5AE0EC #5A97EC #665AEC
triadic
#5A97EC #EC5A97 #97EC5A
tetradic
#5A97EC #EC5AE0 #ECAF5A #5AEC66
square
#5A97EC #EC5AE0 #ECAF5A #5AEC66
split-complementary
#5A97EC #EC665A #E0EC5A
monochromatic
#1559B7 #2374E6 #5A97EC #91BAF2 #C8DCF9
Accessibility & contrast
On white
2.97
#5A97EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#5A97EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5A97EC
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A97EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A97EC | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#5E8FEA
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5a97ec; /* rgb */ color: rgb(90, 151, 236); /* oklch */ color: oklch(67.4% 0.142 257.0);
Tailwind
colors: {
custom: {
50: '#95b5f2',
500: '#5a97ec',
950: '#000000',
},
}SCSS
$custom: #5a97ec; $custom-light: #95b5f2; $custom-dark: #000000;
JSON
{
"hex": "#5a97ec",
"rgb": {
"r": 90,
"g": 151,
"b": 236
},
"hsl": {
"h": 214.932,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.67351,
"c": 0.14182,
"h": 257
},
"luminance": 0.30363
}Semantic roles & 50–950 ramp
primary
#5A97EC
secondary
#EBD5B7
accent
#840ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085