#505487#505487
#505487 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.083 H 279.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #505487 |
|---|---|
| RGB | rgb(80, 84, 135) |
| HSL | hsl(236, 26%, 42%) |
| HSV | hsv(236, 41%, 53%) |
| CMYK | cmyk(40.7%, 37.8%, 0%, 47.1%) |
| CIE-LAB | lab(37.47, 12.07, -29.01) |
| CIE-LCH | lch(37.47, 31.43, 292.59°) |
| OKLab | oklab(46.55% 0.0133 -0.0814) |
| OKLCH | oklch(46.55% 0.083 279.3) |
| XYZ | xyz(10.8505, 9.7949, 24.2359) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.42
Twilight
#4E518B
ΔE00 1.65
Dusky Blue
#475F94
ΔE00 6.15
Denim Blue
#3B5B92
ΔE00 7.25
Blueberry
#464196
ΔE00 7.84
Darkslateblue
#483D8B
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505487 #878350
analogous
#507087 #505487 #685087
triadic
#505487 #875054 #548750
tetradic
#505487 #875070 #878350 #508768
square
#505487 #875070 #878350 #508768
split-complementary
#505487 #876850 #708750
monochromatic
#22243A #393C61 #505487 #6C71A8 #9396BF
Accessibility & contrast
On white
7.10
#505487 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#505487 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #505487
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505487 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505487 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#405686
Tritanopia (blue-blind)
#405E67
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #505487; /* rgb */ color: rgb(80, 84, 135); /* oklch */ color: oklch(46.6% 0.083 279.3);
Tailwind
colors: {
custom: {
50: '#8384aa',
500: '#505487',
950: '#000000',
},
}SCSS
$custom: #505487; $custom-light: #8384aa; $custom-dark: #000000;
JSON
{
"hex": "#505487",
"rgb": {
"r": 80,
"g": 84,
"b": 135
},
"hsl": {
"h": 235.636,
"s": 25.581,
"l": 42.157
},
"oklch": {
"l": 0.46551,
"c": 0.0825,
"h": 279.3
},
"luminance": 0.09795
}Semantic roles & 50–950 ramp
primary
#505487
secondary
#ACA987
accent
#BB66C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F