#515178#515178
#515178 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.063 H 283.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #515178 |
|---|---|
| RGB | rgb(81, 81, 120) |
| HSL | hsl(240, 19%, 39%) |
| HSV | hsv(240, 33%, 47%) |
| CMYK | cmyk(32.5%, 32.5%, 0%, 52.9%) |
| CIE-LAB | lab(35.97, 9.87, -22.14) |
| CIE-LCH | lch(35.97, 24.25, 294.03°) |
| OKLab | oklab(45.17% 0.0149 -0.0616) |
| OKLCH | oklch(45.17% 0.063 283.6) |
| XYZ | xyz(9.7250, 8.9900, 18.9885) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 2.82
Twilight
#4E518B
ΔE00 4.96
Dusky Blue
#475F94
ΔE00 9.01
Darkslateblue
#483D8B
ΔE00 9.62
Denim Blue
#3B5B92
ΔE00 10.01
Blueberry
#464196
ΔE00 10.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515178 #787851
analogous
#516578 #515178 #655178
triadic
#515178 #785151 #517851
tetradic
#515178 #785165 #787851 #517865
square
#515178 #785165 #787851 #517865
split-complementary
#515178 #786551 #657851
monochromatic
#20202F #383853 #515178 #6B6B9B #9090B4
Accessibility & contrast
On white
7.51
#515178 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#515178 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #515178
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515178 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46567A
Deuteranopia (green-blind)
#445377
Tritanopia (blue-blind)
#47585F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #515178; /* rgb */ color: rgb(81, 81, 120); /* oklch */ color: oklch(45.2% 0.063 283.6);
Tailwind
colors: {
custom: {
50: '#83819f',
500: '#515178',
950: '#000000',
},
}SCSS
$custom: #515178; $custom-light: #83819f; $custom-dark: #000000;
JSON
{
"hex": "#515178",
"rgb": {
"r": 81,
"g": 81,
"b": 120
},
"hsl": {
"h": 240,
"s": 19.403,
"l": 39.412
},
"oklch": {
"l": 0.4517,
"c": 0.06333,
"h": 283.6
},
"luminance": 0.0899
}Semantic roles & 50–950 ramp
primary
#515178
secondary
#A1A184
accent
#BC6CBC
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E