#4D454E color
The hex color #4D454E is a dark gray.
In the RGB color model it is made of 30.2% red, 27.1% green and 30.6% blue (77, 69, 78).
Its hue angle is 293°, with 6% saturation and 29% lightness. For print, the CMYK equivalent is 1% cyan, 12% magenta, 0% yellow and 69% black.
The closest named color is Black Magic (#4F4554), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.22:1).
#4D454E color codes
| HEX | #4D454E | |
|---|---|---|
| RGB | rgb(77, 69, 78) | |
| RGB percent | rgb(30.2%, 27.1%, 30.6%) | |
| HSL | hsl(293, 6%, 29%) | |
| HSV / HSB | hsv(293, 12%, 31%) | |
| CMYK | cmyk(1%, 12%, 0%, 69%) | |
| CIE LAB | lab(30.36, 5.3, -4.16) | |
| CIE LCH | lch(30.36, 6.73, 321.9) | |
| CIE XYZ | xyz(6.564, 6.384, 8.093) | |
| Decimal | 5064014 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D454E, 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 #4D454E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.22:1 | Pass | Pass | Pass |
| #4D454E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.22:1 | Pass | Pass | Pass |
| Sample text | 2.28: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 #4D454E looks to people with the most common types of color vision deficiency.
#44474eProtanopia
no red cones#46484eDeuteranopia
no green cones#4d4648Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #4d454e; }
.text { color: #4d454e; }
.border { border: 2px solid #4d454e; }
.transparent { background-color: rgb(77 69 78 / 50%); }
.gradient { background: linear-gradient(to right, #4d454e, #4e454b); }
Similar colors
#4f4554Black Magic#484753Gun Powder#483c41Pitch Black#413d4bItalian Grape#3f3c43Tuxedo#463d3eBlack Truffle#41434eMidnight Serenade#524b4bMatterhorn
Closest common color name: Graphite.
Questions
- What color is #4D454E?
- #4D454E is a dark gray, closest to the named color Black Magic. It belongs to the gray family of colors.
- What is the RGB value of #4D454E?
- The RGB value is 77, 69, 78: 77 red, 69 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #4D454E?
- The complementary color is #464E45, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D454E?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.22:1. WCAG asks for at least 4.5:1 for normal text.