#5A87ED#5A87ED
#5A87ED is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.161 H 264.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87ED |
|---|---|
| RGB | rgb(90, 135, 237) |
| HSL | hsl(222, 80%, 64%) |
| HSV | hsv(222, 62%, 93%) |
| CMYK | cmyk(62%, 43%, 0%, 7.1%) |
| CIE-LAB | lab(57.67, 15.79, -56.10) |
| CIE-LCH | lch(57.67, 58.28, 285.72°) |
| OKLab | oklab(64.04% -0.0157 -0.16) |
| OKLCH | oklch(64.04% 0.161 264.4) |
| XYZ | xyz(28.1612, 25.6135, 83.5642) |
| Luminance | 0.2562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.48
Dodger Blue
#3E82FC
ΔE00 2.85
Cornflowerblue
#6495ED
ΔE00 4.33
Lightish Blue
#3D7AFD
ΔE00 4.49
Clear Blue
#247AFD
ΔE00 5.18
Azure
#007FFF
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87ED #EDC05A
analogous
#5AD0ED #5A87ED #775AED
triadic
#5A87ED #ED5A87 #87ED5A
tetradic
#5A87ED #ED5AD0 #EDC05A #5AED77
square
#5A87ED #ED5AD0 #EDC05A #5AED77
split-complementary
#5A87ED #ED775A #D0ED5A
monochromatic
#1446B8 #235FE7 #5A87ED #91AFF3 #C8D7F9
Accessibility & contrast
On white
3.43
#5A87ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#5A87ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87ED
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87ED | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5a87ed; /* rgb */ color: rgb(90, 135, 237); /* oklch */ color: oklch(64.0% 0.161 264.4);
Tailwind
colors: {
custom: {
50: '#95a9f3',
500: '#5a87ed',
950: '#000000',
},
}SCSS
$custom: #5a87ed; $custom-light: #95a9f3; $custom-dark: #000000;
JSON
{
"hex": "#5a87ed",
"rgb": {
"r": 90,
"g": 135,
"b": 237
},
"hsl": {
"h": 221.633,
"s": 80.328,
"l": 64.118
},
"oklch": {
"l": 0.64042,
"c": 0.16076,
"h": 264.4
},
"luminance": 0.25616
}Semantic roles & 50–950 ramp
primary
#5A87ED
secondary
#EBDBB8
accent
#9C09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85