#4D474F color
The hex color #4D474F is a dark gray.
In the RGB color model it is made of 30.2% red, 27.8% green and 31% blue (77, 71, 79).
Its hue angle is 285°, with 5% saturation and 29% lightness. For print, the CMYK equivalent is 3% cyan, 10% magenta, 0% yellow and 69% black.
The closest named color is Gun Powder (#484753), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.01:1).
#4D474F color codes
| HEX | #4D474F | |
|---|---|---|
| RGB | rgb(77, 71, 79) | |
| RGB percent | rgb(30.2%, 27.8%, 31%) | |
| HSL | hsl(285, 5%, 29%) | |
| HSV / HSB | hsv(285, 10%, 31%) | |
| CMYK | cmyk(3%, 10%, 0%, 69%) | |
| CIE LAB | lab(30.99, 4.24, -3.86) | |
| CIE LCH | lch(30.99, 5.74, 317.68) | |
| CIE XYZ | xyz(6.725, 6.649, 8.325) | |
| Decimal | 5064527 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D474F, 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 #4D474F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.33:1 | Fail | Fail | Fail |
| Sample text | 9.01:1 | Pass | Pass | Pass |
| #4D474F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.01:1 | Pass | Pass | Pass |
| Sample text | 2.33: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 #4D474F looks to people with the most common types of color vision deficiency.
#46494fProtanopia
no red cones#47494fDeuteranopia
no green cones#4d484aTritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #4d474f; }
.text { color: #4d474f; }
.border { border: 2px solid #4d474f; }
.transparent { background-color: rgb(77 71 79 / 50%); }
.gradient { background: linear-gradient(to right, #4d474f, #4f474d); }
Similar colors
#484753Gun Powder#4f4554Black Magic#3f3c43Tuxedo#525054Magnet#413d4bItalian Grape#483c41Pitch Black#524b4bMatterhorn#41434eMidnight Serenade
Closest common color name: Graphite.
Questions
- What color is #4D474F?
- #4D474F is a dark gray, closest to the named color Gun Powder. It belongs to the gray family of colors.
- What is the RGB value of #4D474F?
- The RGB value is 77, 71, 79: 77 red, 71 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #4D474F?
- The complementary color is #494F47, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D474F?
- White text. Black text has a contrast ratio of 2.33:1 and white text 9.01:1. WCAG asks for at least 4.5:1 for normal text.