#5A94EC#5A94EC
#5A94EC is a light, vivid blue. Relative luminance 0.294; OKLCH L 66.7% C 0.145 H 258.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5A94EC |
|---|---|
| RGB | rgb(90, 148, 236) |
| HSL | hsl(216, 79%, 64%) |
| HSV | hsv(216, 62%, 93%) |
| CMYK | cmyk(61.9%, 37.3%, 0%, 7.5%) |
| CIE-LAB | lab(61.14, 7.71, -50.02) |
| CIE-LCH | lch(61.14, 50.61, 278.77°) |
| OKLab | oklab(66.71% -0.0289 -0.142) |
| OKLCH | oklch(66.71% 0.145 258.5) |
| XYZ | xyz(29.9413, 29.4068, 83.4388) |
| Luminance | 0.2941 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.54
Dark Sky Blue
#448EE4
ΔE00 3.25
Dodgerblue
#1E90FF
ΔE00 4.00
Soft Blue
#6488EA
ΔE00 5.08
Faded Blue
#658CBB
ΔE00 5.70
Dodger Blue
#3E82FC
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A94EC #ECB25A
analogous
#5ADDEC #5A94EC #695AEC
triadic
#5A94EC #EC5A94 #94EC5A
tetradic
#5A94EC #EC5ADD #ECB25A #5AEC69
square
#5A94EC #EC5ADD #ECB25A #5AEC69
split-complementary
#5A94EC #EC695A #DDEC5A
monochromatic
#1555B7 #2370E6 #5A94EC #91B8F2 #C8DBF9
Accessibility & contrast
On white
3.05
#5A94EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#5A94EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A94EC
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A94EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A94EC | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#5A8DEA
Tritanopia (blue-blind)
#00A8B5
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #5a94ec; /* rgb */ color: rgb(90, 148, 236); /* oklch */ color: oklch(66.7% 0.145 258.5);
Tailwind
colors: {
custom: {
50: '#95b3f2',
500: '#5a94ec',
950: '#000000',
},
}SCSS
$custom: #5a94ec; $custom-light: #95b3f2; $custom-dark: #000000;
JSON
{
"hex": "#5a94ec",
"rgb": {
"r": 90,
"g": 148,
"b": 236
},
"hsl": {
"h": 216.164,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.66709,
"c": 0.14494,
"h": 258.5
},
"luminance": 0.2941
}Semantic roles & 50–950 ramp
primary
#5A94EC
secondary
#EBD6B7
accent
#880ADC
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85