#515175#515175
#515175 is a mid, muted blue. Relative luminance 0.089; OKLCH L 45.0% C 0.059 H 283.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #515175 |
|---|---|
| RGB | rgb(81, 81, 117) |
| HSL | hsl(240, 18%, 39%) |
| HSV | hsv(240, 31%, 46%) |
| CMYK | cmyk(30.8%, 30.8%, 0%, 54.1%) |
| CIE-LAB | lab(35.83, 9.02, -20.50) |
| CIE-LCH | lch(35.83, 22.40, 293.76°) |
| OKLab | oklab(45.02% 0.014 -0.0568) |
| OKLCH | oklch(45.02% 0.059 283.8) |
| XYZ | xyz(9.5458, 8.9183, 18.0446) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 3.48
Twilight
#4E518B
ΔE00 5.82
Dusky Blue
#475F94
ΔE00 9.49
Darkslateblue
#483D8B
ΔE00 10.30
Denim Blue
#3B5B92
ΔE00 10.48
Blueberry
#464196
ΔE00 10.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515175 #757551
analogous
#516375 #515175 #635175
triadic
#515175 #755151 #517551
tetradic
#515175 #755163 #757551 #517563
square
#515175 #755163 #757551 #517563
split-complementary
#515175 #756351 #637551
monochromatic
#1F1F2D #383851 #515175 #6B6B98 #8F8FB1
Accessibility & contrast
On white
7.54
#515175 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#515175 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #515175
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515175 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475577
Deuteranopia (green-blind)
#465374
Tritanopia (blue-blind)
#48575E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #515175; /* rgb */ color: rgb(81, 81, 117); /* oklch */ color: oklch(45.0% 0.059 283.8);
Tailwind
colors: {
custom: {
50: '#83819d',
500: '#515175',
950: '#000000',
},
}SCSS
$custom: #515175; $custom-light: #83819d; $custom-dark: #000000;
JSON
{
"hex": "#515175",
"rgb": {
"r": 81,
"g": 81,
"b": 117
},
"hsl": {
"h": 240,
"s": 18.182,
"l": 38.824
},
"oklch": {
"l": 0.45018,
"c": 0.05853,
"h": 283.8
},
"luminance": 0.08919
}Semantic roles & 50–950 ramp
primary
#515175
secondary
#9F9F83
accent
#BB6DBB
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A0A0E
muted
#7C7C7E