#505D76 color
The hex color #505D76 is a grayish azure.
In the RGB color model it is made of 31.4% red, 36.5% green and 46.3% blue (80, 93, 118).
Its hue angle is 219°, with 19% saturation and 39% lightness. For print, the CMYK equivalent is 32% cyan, 21% magenta, 0% yellow and 54% black.
The closest named color is Heavy Violet (#4F566C), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.63:1).
#505D76 color codes
| HEX | #505D76 | |
|---|---|---|
| RGB | rgb(80, 93, 118) | |
| RGB percent | rgb(31.4%, 36.5%, 46.3%) | |
| HSL | hsl(219, 19%, 39%) | |
| HSV / HSB | hsv(219, 32%, 46%) | |
| CMYK | cmyk(32%, 21%, 0%, 54%) | |
| CIE LAB | lab(39.31, 1.43, -15.76) | |
| CIE LCH | lch(39.31, 15.82, 275.2) | |
| CIE XYZ | xyz(10.492, 10.842, 18.676) | |
| Decimal | 5266806 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505D76, 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 #505D76 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.17:1 | Fail | Fail | Pass |
| Sample text | 6.63:1 | Pass | Fail | Pass |
| #505D76 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.63:1 | Pass | Fail | Pass |
| Sample text | 3.17: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 #505D76 looks to people with the most common types of color vision deficiency.
#555f77Protanopia
no red cones#515b75Deuteranopia
no green cones#456265Tritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #505d76; }
.text { color: #505d76; }
.border { border: 2px solid #505d76; }
.transparent { background-color: rgb(80 93 118 / 50%); }
.gradient { background: linear-gradient(to right, #505d76, #565076); }
Similar colors
#4f566cHeavy Violet#50647fAdmiral Blue#4d5a6bStorm Rising#44556bInkjet#4c6177Night Market#566373Midnight Shadow#4c567aDeep Indigo#425267Into the Stratosphere
Closest common color name: Charcoal.
Questions
- What color is #505D76?
- #505D76 is a grayish azure, closest to the named color Heavy Violet. It belongs to the blue family of colors.
- What is the RGB value of #505D76?
- The RGB value is 80, 93, 118: 80 red, 93 green and 118 blue on a 0 to 255 scale.
- What is the complementary color of #505D76?
- The complementary color is #766950, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505D76?
- White text. Black text has a contrast ratio of 3.17:1 and white text 6.63:1. WCAG asks for at least 4.5:1 for normal text.