#424742 color
The hex color #424742 is a dark gray.
In the RGB color model it is made of 25.9% red, 27.8% green and 25.9% blue (66, 71, 66).
Its hue angle is 120°, with 4% saturation and 27% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 7% yellow and 72% black.
The closest named color is Armadillo (#484A46), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.5:1).
#424742 color codes
| HEX | #424742 | |
|---|---|---|
| RGB | rgb(66, 71, 66) | |
| RGB percent | rgb(25.9%, 27.8%, 25.9%) | |
| HSL | hsl(120, 4%, 27%) | |
| HSV / HSB | hsv(120, 7%, 28%) | |
| CMYK | cmyk(7%, 0%, 7%, 72%) | |
| CIE LAB | lab(29.56, -3.17, 2.3) | |
| CIE LCH | lch(29.56, 3.92, 144.08) | |
| CIE XYZ | xyz(5.483, 6.058, 6.034) | |
| Decimal | 4343618 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #424742, 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 #424742 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.5:1 | Pass | Pass | Pass |
| #424742 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.5: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 #424742 looks to people with the most common types of color vision deficiency.
#474642Protanopia
no red cones#464542Deuteranopia
no green cones#424746Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #424742; }
.text { color: #424742; }
.border { border: 2px solid #424742; }
.transparent { background-color: rgb(66 71 66 / 50%); }
.gradient { background: linear-gradient(to right, #424742, #424745); }
Similar colors
#484a46Armadillo#444b43Ancient Pine#444b4aMoonless Sky#46473eHeavy Metal#424c4aUrban Chic#3c463eDeep Forest#424443Vulcanised#3b3c36Black Olive
Closest common color name: Onyx.
Questions
- What color is #424742?
- #424742 is a dark gray, closest to the named color Armadillo. It belongs to the gray family of colors.
- What is the RGB value of #424742?
- The RGB value is 66, 71, 66: 66 red, 71 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #424742?
- The complementary color is #474247, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #424742?
- White text. Black text has a contrast ratio of 2.21:1 and white text 9.5:1. WCAG asks for at least 4.5:1 for normal text.