#42423F color
The hex color #42423F is a dark gray.
In the RGB color model it is made of 25.9% red, 25.9% green and 24.7% blue (66, 66, 63).
Its hue angle is 60°, with 2% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 5% yellow and 74% black.
The closest named color is Vulcanised (#424443), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.08:1).
#42423F color codes
| HEX | #42423F | |
|---|---|---|
| RGB | rgb(66, 66, 63) | |
| RGB percent | rgb(25.9%, 25.9%, 24.7%) | |
| HSL | hsl(60, 2%, 25%) | |
| HSV / HSB | hsv(60, 5%, 26%) | |
| CMYK | cmyk(0%, 0%, 5%, 74%) | |
| CIE LAB | lab(27.88, -0.66, 1.82) | |
| CIE LCH | lch(27.88, 1.94, 109.79) | |
| CIE XYZ | xyz(5.092, 5.414, 5.478) | |
| Decimal | 4342335 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42423F, 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 #42423F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.08:1 | Fail | Fail | Fail |
| Sample text | 10.08:1 | Pass | Pass | Pass |
| #42423F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.08:1 | Pass | Pass | Pass |
| Sample text | 2.08: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 #42423F looks to people with the most common types of color vision deficiency.
#43423fProtanopia
no red cones#43423fDeuteranopia
no green cones#434241Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #42423f; }
.text { color: #42423f; }
.border { border: 2px solid #42423f; }
.transparent { background-color: rgb(66 66 63 / 50%); }
.gradient { background: linear-gradient(to right, #42423f, #41423f); }
Similar colors
#424443Vulcanised#424242Black Panther#44413cDeepest Nightmare#484a46Armadillo#3b3c36Black Olive#49463fWhiskey and Wine#3b3f40Tamahagane#3e4244Metropolitan Silhouette
Closest common color name: Graphite.
Questions
- What color is #42423F?
- #42423F is a dark gray, closest to the named color Vulcanised. It belongs to the gray family of colors.
- What is the RGB value of #42423F?
- The RGB value is 66, 66, 63: 66 red, 66 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #42423F?
- The complementary color is #3F3F42, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42423F?
- White text. Black text has a contrast ratio of 2.08:1 and white text 10.08:1. WCAG asks for at least 4.5:1 for normal text.