#42464A color
The hex color #42464A is a dark gray.
In the RGB color model it is made of 25.9% red, 27.5% green and 29% blue (66, 70, 74).
Its hue angle is 210°, with 6% saturation and 27% lightness. For print, the CMYK equivalent is 11% cyan, 5% magenta, 0% yellow and 71% black.
The closest named color is Stargazing (#414549), a difference of 0.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.52:1).
#42464A color codes
| HEX | #42464A | |
|---|---|---|
| RGB | rgb(66, 70, 74) | |
| RGB percent | rgb(25.9%, 27.5%, 29%) | |
| HSL | hsl(210, 6%, 27%) | |
| HSV / HSB | hsv(210, 11%, 29%) | |
| CMYK | cmyk(11%, 5%, 0%, 71%) | |
| CIE LAB | lab(29.5, -0.7, -2.97) | |
| CIE LCH | lch(29.5, 3.05, 256.68) | |
| CIE XYZ | xyz(5.673, 6.033, 7.343) | |
| Decimal | 4343370 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42464A, 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 #42464A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.52:1 | Pass | Pass | Pass |
| #42464A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.52:1 | Pass | Pass | Pass |
| Sample text | 2.21: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 #42464A looks to people with the most common types of color vision deficiency.
#45464aProtanopia
no red cones#44454aDeuteranopia
no green cones#404747Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #42464a; }
.text { color: #42464a; }
.border { border: 2px solid #42464a; }
.transparent { background-color: rgb(66 70 74 / 50%); }
.gradient { background: linear-gradient(to right, #42464a, #42424a); }
Similar colors
#414549Stargazing#46494eTuna#3e4244Metropolitan Silhouette#474c50Witchcraft#474d52Sooty Lashes#3b444bArsenic#3b3f40Tamahagane#3d474bLights Out
Closest common color name: Charcoal.
Questions
- What color is #42464A?
- #42464A is a dark gray, closest to the named color Stargazing. It belongs to the gray family of colors.
- What is the RGB value of #42464A?
- The RGB value is 66, 70, 74: 66 red, 70 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #42464A?
- The complementary color is #4A4642, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42464A?
- White text. Black text has a contrast ratio of 2.21:1 and white text 9.52:1. WCAG asks for at least 4.5:1 for normal text.