#515971 color
The hex color #515971 is a grayish blue.
In the RGB color model it is made of 31.8% red, 34.9% green and 44.3% blue (81, 89, 113).
Its hue angle is 225°, with 16% saturation and 38% lightness. For print, the CMYK equivalent is 28% cyan, 21% magenta, 0% yellow and 56% black.
The closest named color is Heavy Violet (#4F566C), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.96:1).
#515971 color codes
| HEX | #515971 | |
|---|---|---|
| RGB | rgb(81, 89, 113) | |
| RGB percent | rgb(31.8%, 34.9%, 44.3%) | |
| HSL | hsl(225, 16%, 38%) | |
| HSV / HSB | hsv(225, 28%, 44%) | |
| CMYK | cmyk(28%, 21%, 0%, 56%) | |
| CIE LAB | lab(38, 2.87, -14.69) | |
| CIE LCH | lch(38, 14.96, 281.06) | |
| CIE XYZ | xyz(9.946, 10.086, 17.042) | |
| Decimal | 5331313 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515971, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #515971 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.02:1 | Fail | Fail | Pass |
| Sample text | 6.96:1 | Pass | Fail | Pass |
| #515971 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.96:1 | Pass | Fail | Pass |
| Sample text | 3.02:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #515971 looks to people with the most common types of color vision deficiency.
#525b72Protanopia
no red cones#4f5870Deuteranopia
no green cones#495e61Tritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #515971; }
.text { color: #515971; }
.border { border: 2px solid #515971; }
.transparent { background-color: rgb(81 89 113 / 50%); }
.gradient { background: linear-gradient(to right, #515971, #595171); }
Similar colors
#4f566cHeavy Violet#4d516cIntergalactic#4c567aDeep Indigo#555570Majestic Magic#525463Black Orchid#4d5a6bStorm Rising#44556bInkjet#545663Blackwater
Closest common color name: Charcoal.
Questions
- What color is #515971?
- #515971 is a grayish blue, closest to the named color Heavy Violet. It belongs to the blue family of colors.
- What is the RGB value of #515971?
- The RGB value is 81, 89, 113: 81 red, 89 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #515971?
- The complementary color is #716951, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515971?
- White text. Black text has a contrast ratio of 3.02:1 and white text 6.96:1. WCAG asks for at least 4.5:1 for normal text.