#5A8FFC#5A8FFC
#5A8FFC is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.6% C 0.172 H 263.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8FFC |
|---|---|
| RGB | rgb(90, 143, 252) |
| HSL | hsl(220, 96%, 67%) |
| HSV | hsv(220, 64%, 99%) |
| CMYK | cmyk(64.3%, 43.3%, 0%, 1.2%) |
| CIE-LAB | lab(60.64, 16.03, -59.62) |
| CIE-LCH | lch(60.64, 61.74, 285.05°) |
| OKLab | oklab(66.6% -0.0208 -0.1702) |
| OKLCH | oklch(66.6% 0.172 263) |
| XYZ | xyz(31.6034, 28.8439, 95.9785) |
| Luminance | 0.2885 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.27
Soft Blue
#6488EA
ΔE00 3.46
Dodger Blue
#3E82FC
ΔE00 4.31
Dark Sky Blue
#448EE4
ΔE00 4.84
Dodgerblue
#1E90FF
ΔE00 5.44
Azure
#007FFF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8FFC #FCC75A
analogous
#5AE0FC #5A8FFC #765AFC
triadic
#5A8FFC #FC5A8F #8FFC5A
tetradic
#5A8FFC #FC5AE0 #FCC75A #5AFC76
square
#5A8FFC #FC5AE0 #FCC75A #5AFC76
split-complementary
#5A8FFC #FC765A #E0FC5A
monochromatic
#0449D8 #1E66FB #5A8FFC #96B8FD #D2E1FE
Accessibility & contrast
On white
3.10
#5A8FFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.77
#5A8FFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8FFC
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8FFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8FFC | 1.00 | 3.10 | 6.77 | 6.77 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#408BFA
Tritanopia (blue-blind)
#00A8B9
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5a8ffc; /* rgb */ color: rgb(90, 143, 252); /* oklch */ color: oklch(66.6% 0.172 263.0);
Tailwind
colors: {
custom: {
50: '#97affe',
500: '#5a8ffc',
950: '#000000',
},
}SCSS
$custom: #5a8ffc; $custom-light: #97affe; $custom-dark: #000000;
JSON
{
"hex": "#5a8ffc",
"rgb": {
"r": 90,
"g": 143,
"b": 252
},
"hsl": {
"h": 220.37,
"s": 96.429,
"l": 67.059
},
"oklch": {
"l": 0.66603,
"c": 0.1715,
"h": 263
},
"luminance": 0.28847
}Semantic roles & 50–950 ramp
primary
#5A8FFC
secondary
#F3E2BF
accent
#9A00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86