#5A87D9#5A87D9
#5A87D9 is a light, vivid blue. Relative luminance 0.245; OKLCH L 62.9% C 0.134 H 261.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87D9 |
|---|---|
| RGB | rgb(90, 135, 217) |
| HSL | hsl(219, 63%, 60%) |
| HSV | hsv(219, 59%, 85%) |
| CMYK | cmyk(58.5%, 37.8%, 0%, 14.9%) |
| CIE-LAB | lab(56.59, 9.16, -46.65) |
| CIE-LCH | lch(56.59, 47.54, 281.10°) |
| OKLab | oklab(62.86% -0.0196 -0.1323) |
| OKLCH | oklch(62.86% 0.134 261.6) |
| XYZ | xyz(25.4005, 24.5092, 69.0244) |
| Luminance | 0.2451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.88
Faded Blue
#658CBB
ΔE00 3.76
Dodger Blue
#3E82FC
ΔE00 3.82
Dark Sky Blue
#448EE4
ΔE00 4.51
Cornflowerblue
#6495ED
ΔE00 4.85
Azure
#007FFF
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87D9 #D9AC5A
analogous
#5AC7D9 #5A87D9 #6C5AD9
triadic
#5A87D9 #D95A87 #87D95A
tetradic
#5A87D9 #D95AC7 #D9AC5A #5AD96C
square
#5A87D9 #D95AC7 #D9AC5A #5AD96C
split-complementary
#5A87D9 #D96C5A #C7D95A
monochromatic
#234B96 #2E64C8 #5A87D9 #8CABE4 #BDCFF0
Accessibility & contrast
On white
3.56
#5A87D9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#5A87D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87D9
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87D9 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#648EDC
Deuteranopia (green-blind)
#5482D7
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5a87d9; /* rgb */ color: rgb(90, 135, 217); /* oklch */ color: oklch(62.9% 0.134 261.6);
Tailwind
colors: {
custom: {
50: '#92a9e5',
500: '#5a87d9',
950: '#000000',
},
}SCSS
$custom: #5a87d9; $custom-light: #92a9e5; $custom-dark: #000000;
JSON
{
"hex": "#5a87d9",
"rgb": {
"r": 90,
"g": 135,
"b": 217
},
"hsl": {
"h": 218.74,
"s": 62.562,
"l": 60.196
},
"oklch": {
"l": 0.62863,
"c": 0.13375,
"h": 261.6
},
"luminance": 0.24511
}Semantic roles & 50–950 ramp
primary
#5A87D9
secondary
#E0CEAF
accent
#8C1BCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84