#5A8BF6#5A8BF6
#5A8BF6 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.4% C 0.168 H 263.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8BF6 |
|---|---|
| RGB | rgb(90, 139, 246) |
| HSL | hsl(221, 90%, 66%) |
| HSV | hsv(221, 63%, 96%) |
| CMYK | cmyk(63.4%, 43.5%, 0%, 3.5%) |
| CIE-LAB | lab(59.24, 16.41, -58.56) |
| CIE-LCH | lch(59.24, 60.82, 285.65°) |
| OKLab | oklab(65.42% -0.018 -0.1672) |
| OKLCH | oklch(65.42% 0.168 263.9) |
| XYZ | xyz(30.0778, 27.2899, 90.8533) |
| Luminance | 0.2729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.26
Cornflowerblue
#6495ED
ΔE00 3.15
Dodger Blue
#3E82FC
ΔE00 3.35
Dark Sky Blue
#448EE4
ΔE00 4.95
Lightish Blue
#3D7AFD
ΔE00 5.46
Azure
#007FFF
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8BF6 #F6C55A
analogous
#5AD9F6 #5A8BF6 #775AF6
triadic
#5A8BF6 #F65A8B #8BF65A
tetradic
#5A8BF6 #F65AD9 #F6C55A #5AF677
square
#5A8BF6 #F65AD9 #F6C55A #5AF677
split-complementary
#5A8BF6 #F6775A #D9F65A
monochromatic
#0B47CB #2062F3 #5A8BF6 #94B4F9 #CEDDFC
Accessibility & contrast
On white
3.25
#5A8BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#5A8BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8BF6
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8BF6 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #5a8bf6; /* rgb */ color: rgb(90, 139, 246); /* oklch */ color: oklch(65.4% 0.168 263.9);
Tailwind
colors: {
custom: {
50: '#96acfa',
500: '#5a8bf6',
950: '#000000',
},
}SCSS
$custom: #5a8bf6; $custom-light: #96acfa; $custom-dark: #000000;
JSON
{
"hex": "#5a8bf6",
"rgb": {
"r": 90,
"g": 139,
"b": 246
},
"hsl": {
"h": 221.154,
"s": 89.655,
"l": 65.882
},
"oklch": {
"l": 0.65416,
"c": 0.16816,
"h": 263.9
},
"luminance": 0.27293
}Semantic roles & 50–950 ramp
primary
#5A8BF6
secondary
#F0DFBC
accent
#9D00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85