#4D474A color
The hex color #4D474A is a dark gray.
In the RGB color model it is made of 30.2% red, 27.8% green and 29% blue (77, 71, 74).
Its hue angle is 330°, with 4% saturation and 29% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 4% yellow and 70% black.
The closest named color is Matterhorn (#524B4B), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.07:1).
#4D474A color codes
| HEX | #4D474A | |
|---|---|---|
| RGB | rgb(77, 71, 74) | |
| RGB percent | rgb(30.2%, 27.8%, 29%) | |
| HSL | hsl(330, 4%, 29%) | |
| HSV / HSB | hsv(330, 8%, 30%) | |
| CMYK | cmyk(0%, 8%, 4%, 70%) | |
| CIE LAB | lab(30.83, 3.14, -0.89) | |
| CIE LCH | lch(30.83, 3.27, 344.23) | |
| CIE XYZ | xyz(6.55, 6.579, 7.402) | |
| Decimal | 5064522 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D474A, 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 #4D474A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.07:1 | Pass | Pass | Pass |
| #4D474A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.07:1 | Pass | Pass | Pass |
| Sample text | 2.32: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 #4D474A looks to people with the most common types of color vision deficiency.
#47484aProtanopia
no red cones#49494aDeuteranopia
no green cones#4e4748Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #4d474a; }
.text { color: #4d474a; }
.border { border: 2px solid #4d474a; }
.transparent { background-color: rgb(77 71 74 / 50%); }
.gradient { background: linear-gradient(to right, #4d474a, #4d4747); }
Similar colors
#524b4bMatterhorn#4a4747Dampened Black#534c4bOff the Beaten Path#4c4b4cShady Character#525054Magnet#4f4744Espresso Macchiato#463d3eBlack Truffle#554747Chinotto
Closest common color name: Graphite.
Questions
- What color is #4D474A?
- #4D474A is a dark gray, closest to the named color Matterhorn. It belongs to the gray family of colors.
- What is the RGB value of #4D474A?
- The RGB value is 77, 71, 74: 77 red, 71 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #4D474A?
- The complementary color is #474D4A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D474A?
- White text. Black text has a contrast ratio of 2.32:1 and white text 9.07:1. WCAG asks for at least 4.5:1 for normal text.