#42414C color
The hex color #42414C is a dark gray.
In the RGB color model it is made of 25.9% red, 25.5% green and 29.8% blue (66, 65, 76).
Its hue angle is 245°, with 8% saturation and 28% lightness. For print, the CMYK equivalent is 13% cyan, 14% magenta, 0% yellow and 70% black.
The closest named color is Midnight Serenade (#41434E), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.04:1).
#42414C color codes
| HEX | #42414C | |
|---|---|---|
| RGB | rgb(66, 65, 76) | |
| RGB percent | rgb(25.9%, 25.5%, 29.8%) | |
| HSL | hsl(245, 8%, 28%) | |
| HSV / HSB | hsv(245, 14%, 30%) | |
| CMYK | cmyk(13%, 14%, 0%, 70%) | |
| CIE LAB | lab(28.01, 3.01, -6.48) | |
| CIE LCH | lch(28.01, 7.15, 294.92) | |
| CIE XYZ | xyz(5.441, 5.461, 7.603) | |
| Decimal | 4342092 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42414C, 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 #42414C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.09:1 | Fail | Fail | Fail |
| Sample text | 10.04:1 | Pass | Pass | Pass |
| #42414C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.04:1 | Pass | Pass | Pass |
| Sample text | 2.09: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 #42414C looks to people with the most common types of color vision deficiency.
#3f424dProtanopia
no red cones#3f424cDeuteranopia
no green cones#404345Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #42414c; }
.text { color: #42414c; }
.border { border: 2px solid #42414c; }
.transparent { background-color: rgb(66 65 76 / 50%); }
.gradient { background: linear-gradient(to right, #42414c, #48414c); }
Similar colors
#41434eMidnight Serenade#484753Gun Powder#3f4250Madonna#413d4bItalian Grape#3f3c43Tuxedo#3c4151Lava Stone#424753Midnight Sky#3f4551Dark Crypt
Closest common color name: Graphite.
Questions
- What color is #42414C?
- #42414C is a dark gray, closest to the named color Midnight Serenade. It belongs to the gray family of colors.
- What is the RGB value of #42414C?
- The RGB value is 66, 65, 76: 66 red, 65 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #42414C?
- The complementary color is #4B4C41, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42414C?
- White text. Black text has a contrast ratio of 2.09:1 and white text 10.04:1. WCAG asks for at least 4.5:1 for normal text.