#515F7F color
The hex color #515F7F is a grayish blue.
In the RGB color model it is made of 31.8% red, 37.3% green and 49.8% blue (81, 95, 127).
Its hue angle is 222°, with 22% saturation and 41% lightness. For print, the CMYK equivalent is 36% cyan, 25% magenta, 0% yellow and 50% black.
The closest named color is Wizard (#4D5B88), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.38:1).
#515F7F color codes
| HEX | #515F7F | |
|---|---|---|
| RGB | rgb(81, 95, 127) | |
| RGB percent | rgb(31.8%, 37.3%, 49.8%) | |
| HSL | hsl(222, 22%, 41%) | |
| HSV / HSB | hsv(222, 36%, 50%) | |
| CMYK | cmyk(36%, 25%, 0%, 50%) | |
| CIE LAB | lab(40.35, 3.06, -19.65) | |
| CIE LCH | lch(40.35, 19.88, 278.86) | |
| CIE XYZ | xyz(11.315, 11.466, 21.691) | |
| Decimal | 5332863 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515F7F, 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 #515F7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.29:1 | Fail | Fail | Pass |
| Sample text | 6.38:1 | Pass | Fail | Pass |
| #515F7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.38:1 | Pass | Fail | Pass |
| Sample text | 3.29: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 #515F7F looks to people with the most common types of color vision deficiency.
#546180Protanopia
no red cones#505d7eDeuteranopia
no green cones#43656aTritanopia
no blue cones#5f5f5fAchromatopsia
no color vision
CSS examples
.background { background-color: #515f7f; }
.text { color: #515f7f; }
.border { border: 2px solid #515f7f; }
.transparent { background-color: rgb(81 95 127 / 50%); }
.gradient { background: linear-gradient(to right, #515f7f, #5a517f); }
Similar colors
#4d5b88Wizard#4c567aDeep Indigo#50647fAdmiral Blue#445780Sailor#4f566cHeavy Violet#4e5481Dusk#466590Sea of Galilee#5f6d91Haunt Mist
Closest common color name: Space Gray.
Questions
- What color is #515F7F?
- #515F7F is a grayish blue, closest to the named color Wizard. It belongs to the blue family of colors.
- What is the RGB value of #515F7F?
- The RGB value is 81, 95, 127: 81 red, 95 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #515F7F?
- The complementary color is #7F7151, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515F7F?
- White text. Black text has a contrast ratio of 3.29:1 and white text 6.38:1. WCAG asks for at least 4.5:1 for normal text.