#5A87EE#5A87EE
#5A87EE is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.1% C 0.162 H 264.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87EE |
|---|---|
| RGB | rgb(90, 135, 238) |
| HSL | hsl(222, 81%, 64%) |
| HSV | hsv(222, 62%, 93%) |
| CMYK | cmyk(62.2%, 43.3%, 0%, 6.7%) |
| CIE-LAB | lab(57.72, 16.13, -56.56) |
| CIE-LCH | lch(57.72, 58.82, 285.92°) |
| OKLab | oklab(64.1% -0.0155 -0.1614) |
| OKLCH | oklch(64.1% 0.162 264.5) |
| XYZ | xyz(28.3077, 25.6721, 84.3358) |
| Luminance | 0.2567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.47
Dodger Blue
#3E82FC
ΔE00 2.84
Cornflowerblue
#6495ED
ΔE00 4.33
Lightish Blue
#3D7AFD
ΔE00 4.47
Clear Blue
#247AFD
ΔE00 5.18
Azure
#007FFF
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87EE #EEC15A
analogous
#5AD1EE #5A87EE #775AEE
triadic
#5A87EE #EE5A87 #87EE5A
tetradic
#5A87EE #EE5AD1 #EEC15A #5AEE77
square
#5A87EE #EE5AD1 #EEC15A #5AEE77
split-complementary
#5A87EE #EE775A #D1EE5A
monochromatic
#1346BA #235FE8 #5A87EE #91AFF4 #C9D8F9
Accessibility & contrast
On white
3.42
#5A87EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#5A87EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87EE
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87EE | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#4084EC
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5a87ee; /* rgb */ color: rgb(90, 135, 238); /* oklch */ color: oklch(64.1% 0.162 264.5);
Tailwind
colors: {
custom: {
50: '#95a9f4',
500: '#5a87ee',
950: '#000000',
},
}SCSS
$custom: #5a87ee; $custom-light: #95a9f4; $custom-dark: #000000;
JSON
{
"hex": "#5a87ee",
"rgb": {
"r": 90,
"g": 135,
"b": 238
},
"hsl": {
"h": 221.757,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.64103,
"c": 0.16211,
"h": 264.5
},
"luminance": 0.25675
}Semantic roles & 50–950 ramp
primary
#5A87EE
secondary
#ECDCB8
accent
#9D08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85