#505D77 color
The hex color #505D77 is a grayish blue.
In the RGB color model it is made of 31.4% red, 36.5% green and 46.7% blue (80, 93, 119).
Its hue angle is 220°, with 20% saturation and 39% lightness. For print, the CMYK equivalent is 33% cyan, 22% magenta, 0% yellow and 53% 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.62:1).
#505D77 color codes
| HEX | #505D77 | |
|---|---|---|
| RGB | rgb(80, 93, 119) | |
| RGB percent | rgb(31.4%, 36.5%, 46.7%) | |
| HSL | hsl(220, 20%, 39%) | |
| HSV / HSB | hsv(220, 33%, 47%) | |
| CMYK | cmyk(33%, 22%, 0%, 53%) | |
| CIE LAB | lab(39.35, 1.71, -16.31) | |
| CIE LCH | lch(39.35, 16.4, 275.99) | |
| CIE XYZ | xyz(10.551, 10.866, 18.991) | |
| Decimal | 5266807 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505D77, 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 #505D77 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.17:1 | Fail | Fail | Pass |
| Sample text | 6.62:1 | Pass | Fail | Pass |
| #505D77 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.62: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 #505D77 looks to people with the most common types of color vision deficiency.
#545f78Protanopia
no red cones#515b76Deuteranopia
no green cones#456266Tritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #505d77; }
.text { color: #505d77; }
.border { border: 2px solid #505d77; }
.transparent { background-color: rgb(80 93 119 / 50%); }
.gradient { background: linear-gradient(to right, #505d77, #575077); }
Similar colors
#4f566cHeavy Violet#50647fAdmiral Blue#44556bInkjet#4d5a6bStorm Rising#4c567aDeep Indigo#4c6177Night Market#445780Sailor#566373Midnight Shadow
Closest common color name: Charcoal.
Questions
- What color is #505D77?
- #505D77 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 #505D77?
- The RGB value is 80, 93, 119: 80 red, 93 green and 119 blue on a 0 to 255 scale.
- What is the complementary color of #505D77?
- The complementary color is #776A50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505D77?
- White text. Black text has a contrast ratio of 3.17:1 and white text 6.62:1. WCAG asks for at least 4.5:1 for normal text.