#5A86EC#5A86EC
#5A86EC is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.8% C 0.161 H 264.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5A86EC |
|---|---|
| RGB | rgb(90, 134, 236) |
| HSL | hsl(222, 79%, 64%) |
| HSV | hsv(222, 62%, 93%) |
| CMYK | cmyk(61.9%, 43.2%, 0%, 7.5%) |
| CIE-LAB | lab(57.34, 16.06, -56.06) |
| CIE-LCH | lch(57.34, 58.31, 285.99°) |
| OKLab | oklab(63.78% -0.0148 -0.1599) |
| OKLCH | oklch(63.78% 0.161 264.7) |
| XYZ | xyz(27.8766, 25.2775, 82.7506) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.47
Dodger Blue
#3E82FC
ΔE00 2.83
Lightish Blue
#3D7AFD
ΔE00 4.27
Cornflowerblue
#6495ED
ΔE00 4.67
Clear Blue
#247AFD
ΔE00 5.02
Azure
#007FFF
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A86EC #ECC05A
analogous
#5ACFEC #5A86EC #775AEC
triadic
#5A86EC #EC5A86 #86EC5A
tetradic
#5A86EC #EC5ACF #ECC05A #5AEC77
square
#5A86EC #EC5ACF #ECC05A #5AEC77
split-complementary
#5A86EC #EC775A #CFEC5A
monochromatic
#1546B7 #235EE6 #5A86EC #91AEF2 #C8D6F9
Accessibility & contrast
On white
3.47
#5A86EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#5A86EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A86EC
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A86EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A86EC | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#4083EA
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5a86ec; /* rgb */ color: rgb(90, 134, 236); /* oklch */ color: oklch(63.8% 0.161 264.7);
Tailwind
colors: {
custom: {
50: '#95a8f3',
500: '#5a86ec',
950: '#000000',
},
}SCSS
$custom: #5a86ec; $custom-light: #95a8f3; $custom-dark: #000000;
JSON
{
"hex": "#5a86ec",
"rgb": {
"r": 90,
"g": 134,
"b": 236
},
"hsl": {
"h": 221.918,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.63775,
"c": 0.16059,
"h": 264.7
},
"luminance": 0.2528
}Semantic roles & 50–950 ramp
primary
#5A86EC
secondary
#EBDBB7
accent
#9C0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85