#505B4F color
The hex color #505B4F is a gray.
In the RGB color model it is made of 31.4% red, 35.7% green and 31% blue (80, 91, 79).
Its hue angle is 115°, with 7% saturation and 33% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 13% yellow and 64% black.
The closest named color is Ebony (#555D50), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.12:1).
#505B4F color codes
| HEX | #505B4F | |
|---|---|---|
| RGB | rgb(80, 91, 79) | |
| RGB percent | rgb(31.4%, 35.7%, 31%) | |
| HSL | hsl(115, 7%, 33%) | |
| HSV / HSB | hsv(115, 13%, 36%) | |
| CMYK | cmyk(12%, 0%, 13%, 64%) | |
| CIE LAB | lab(37.39, -6.9, 5.48) | |
| CIE LCH | lch(37.39, 8.81, 141.53) | |
| CIE XYZ | xyz(8.46, 9.752, 8.832) | |
| Decimal | 5266255 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505B4F, 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 #505B4F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.95:1 | Fail | Fail | Fail |
| Sample text | 7.12:1 | Pass | Pass | Pass |
| #505B4F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.12:1 | Pass | Pass | Pass |
| Sample text | 2.95:1 | Fail | Fail | Fail |
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 #505B4F looks to people with the most common types of color vision deficiency.
#5c594eProtanopia
no red cones#5a5850Deuteranopia
no green cones#4f5a58Tritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #505b4f; }
.text { color: #505b4f; }
.border { border: 2px solid #505b4f; }
.transparent { background-color: rgb(80 91 79 / 50%); }
.gradient { background: linear-gradient(to right, #505b4f, #4f5b54); }
Similar colors
#555d50Ebony#4e5a4aVerdant Hush#5e6354Black Forest#4b5d46Muddy Olive#5f6957Italian Basil#444b43Ancient Pine#595d45Tree of Life#424f3bHōjicha
Questions
- What color is #505B4F?
- #505B4F is a gray, closest to the named color Ebony. It belongs to the gray family of colors.
- What is the RGB value of #505B4F?
- The RGB value is 80, 91, 79: 80 red, 91 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #505B4F?
- The complementary color is #5A4F5B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505B4F?
- White text. Black text has a contrast ratio of 2.95:1 and white text 7.12:1. WCAG asks for at least 4.5:1 for normal text.