#5A8EFC#5A8EFC
#5A8EFC is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.4% C 0.173 H 263.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8EFC |
|---|---|
| RGB | rgb(90, 142, 252) |
| HSL | hsl(221, 96%, 67%) |
| HSV | hsv(221, 64%, 99%) |
| CMYK | cmyk(64.3%, 43.7%, 0%, 1.2%) |
| CIE-LAB | lab(60.38, 16.63, -60.05) |
| CIE-LCH | lch(60.38, 62.31, 285.48°) |
| OKLab | oklab(66.4% -0.0198 -0.1715) |
| OKLCH | oklch(66.4% 0.173 263.4) |
| XYZ | xyz(31.4540, 28.5450, 95.9287) |
| Luminance | 0.2855 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.52
Soft Blue
#6488EA
ΔE00 3.20
Dodger Blue
#3E82FC
ΔE00 4.08
Dark Sky Blue
#448EE4
ΔE00 4.96
Dodgerblue
#1E90FF
ΔE00 5.63
Azure
#007FFF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8EFC #FCC85A
analogous
#5ADFFC #5A8EFC #775AFC
triadic
#5A8EFC #FC5A8E #8EFC5A
tetradic
#5A8EFC #FC5ADF #FCC85A #5AFC77
square
#5A8EFC #FC5ADF #FCC85A #5AFC77
split-complementary
#5A8EFC #FC775A #DFFC5A
monochromatic
#0448D8 #1E65FB #5A8EFC #96B7FD #D2E0FE
Accessibility & contrast
On white
3.13
#5A8EFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#5A8EFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8EFC
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8EFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8EFC | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#3E8BFA
Tritanopia (blue-blind)
#00A7B9
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5a8efc; /* rgb */ color: rgb(90, 142, 252); /* oklch */ color: oklch(66.4% 0.173 263.4);
Tailwind
colors: {
custom: {
50: '#97aefe',
500: '#5a8efc',
950: '#000000',
},
}SCSS
$custom: #5a8efc; $custom-light: #97aefe; $custom-dark: #000000;
JSON
{
"hex": "#5a8efc",
"rgb": {
"r": 90,
"g": 142,
"b": 252
},
"hsl": {
"h": 220.741,
"s": 96.429,
"l": 67.059
},
"oklch": {
"l": 0.66399,
"c": 0.17265,
"h": 263.4
},
"luminance": 0.28548
}Semantic roles & 50–950 ramp
primary
#5A8EFC
secondary
#F3E2BF
accent
#9C00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86