#515985#515985
#515985 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.6% C 0.072 H 275.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #515985 |
|---|---|
| RGB | rgb(81, 89, 133) |
| HSL | hsl(231, 24%, 42%) |
| HSV | hsv(231, 39%, 52%) |
| CMYK | cmyk(39.1%, 33.1%, 0%, 47.8%) |
| CIE-LAB | lab(38.88, 8.58, -25.59) |
| CIE-LCH | lch(38.88, 26.99, 288.54°) |
| OKLab | oklab(47.62% 0.0068 -0.0715) |
| OKLCH | oklch(47.62% 0.072 275.4) |
| XYZ | xyz(11.1981, 10.5871, 23.6392) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.74
Twilight
#4E518B
ΔE00 3.66
Dusky Blue
#475F94
ΔE00 5.18
Denim Blue
#3B5B92
ΔE00 6.61
Dusk Blue
#26538D
ΔE00 9.02
Light Navy Blue
#2E5A88
ΔE00 9.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515985 #857D51
analogous
#517385 #515985 #635185
triadic
#515985 #855159 #598551
tetradic
#515985 #855173 #857D51 #518563
square
#515985 #855173 #857D51 #518563
split-complementary
#515985 #856351 #738551
monochromatic
#232639 #3A405F #515985 #6D76A6 #939ABD
Accessibility & contrast
On white
6.74
#515985 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#515985 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515985
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515985 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515985 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5E87
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#426269
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #515985; /* rgb */ color: rgb(81, 89, 133); /* oklch */ color: oklch(47.6% 0.072 275.4);
Tailwind
colors: {
custom: {
50: '#8487a8',
500: '#515985',
950: '#000000',
},
}SCSS
$custom: #515985; $custom-light: #8487a8; $custom-dark: #000000;
JSON
{
"hex": "#515985",
"rgb": {
"r": 81,
"g": 89,
"b": 133
},
"hsl": {
"h": 230.769,
"s": 24.299,
"l": 41.961
},
"oklch": {
"l": 0.47621,
"c": 0.07181,
"h": 275.4
},
"luminance": 0.10588
}Semantic roles & 50–950 ramp
primary
#515985
secondary
#AAA588
accent
#B367C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F