#5A87CD#5A87CD
#5A87CD is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.2% C 0.118 H 258.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87CD |
|---|---|
| RGB | rgb(90, 135, 205) |
| HSL | hsl(217, 53%, 58%) |
| HSV | hsv(217, 56%, 80%) |
| CMYK | cmyk(56.1%, 34.1%, 0%, 19.6%) |
| CIE-LAB | lab(55.99, 5.25, -40.84) |
| CIE-LCH | lch(55.99, 41.17, 277.32°) |
| OKLab | oklab(62.2% -0.0225 -0.1153) |
| OKLCH | oklch(62.2% 0.118 258.9) |
| XYZ | xyz(23.8960, 23.9074, 61.1011) |
| Luminance | 0.2391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 2.95
Soft Blue
#6488EA
ΔE00 4.06
Dark Sky Blue
#448EE4
ΔE00 4.42
Off Blue
#5684AE
ΔE00 4.58
Dodger Blue
#3E82FC
ΔE00 4.68
Dusty Blue
#5A86AD
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87CD #CDA05A
analogous
#5AC0CD #5A87CD #675ACD
triadic
#5A87CD #CD5A87 #87CD5A
tetradic
#5A87CD #CD5AC0 #CDA05A #5ACD67
square
#5A87CD #CD5AC0 #CDA05A #5ACD67
split-complementary
#5A87CD #CD675A #C0CD5A
monochromatic
#284C84 #3667B3 #5A87CD #89A9DB #B8CBE9
Accessibility & contrast
On white
3.63
#5A87CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#5A87CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87CD
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87CD | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#5C81CC
Tritanopia (blue-blind)
#0297A0
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5a87cd; /* rgb */ color: rgb(90, 135, 205); /* oklch */ color: oklch(62.2% 0.118 258.9);
Tailwind
colors: {
custom: {
50: '#91a9dc',
500: '#5a87cd',
950: '#000000',
},
}SCSS
$custom: #5a87cd; $custom-light: #91a9dc; $custom-dark: #000000;
JSON
{
"hex": "#5a87cd",
"rgb": {
"r": 90,
"g": 135,
"b": 205
},
"hsl": {
"h": 216.522,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.62202,
"c": 0.11752,
"h": 258.9
},
"luminance": 0.23909
}Semantic roles & 50–950 ramp
primary
#5A87CD
secondary
#D8C6AA
accent
#A44BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83