#42454A color
The hex color #42454A is a dark gray.
In the RGB color model it is made of 25.9% red, 27.1% green and 29% blue (66, 69, 74).
Its hue angle is 218°, with 6% saturation and 27% lightness. For print, the CMYK equivalent is 11% cyan, 7% magenta, 0% yellow and 71% black.
The closest named color is Stargazing (#414549), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.63:1).
#42454A color codes
| HEX | #42454A | |
|---|---|---|
| RGB | rgb(66, 69, 74) | |
| RGB percent | rgb(25.9%, 27.1%, 29%) | |
| HSL | hsl(218, 6%, 27%) | |
| HSV / HSB | hsv(218, 11%, 29%) | |
| CMYK | cmyk(11%, 7%, 0%, 71%) | |
| CIE LAB | lab(29.18, -0.06, -3.43) | |
| CIE LCH | lch(29.18, 3.43, 268.93) | |
| CIE XYZ | xyz(5.611, 5.909, 7.322) | |
| Decimal | 4343114 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42454A, 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 #42454A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.63:1 | Pass | Pass | Pass |
| #42454A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.63:1 | Pass | Pass | Pass |
| Sample text | 2.18: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 #42454A looks to people with the most common types of color vision deficiency.
#43454aProtanopia
no red cones#43444aDeuteranopia
no green cones#404647Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #42454a; }
.text { color: #42454a; }
.border { border: 2px solid #42454a; }
.transparent { background-color: rgb(66 69 74 / 50%); }
.gradient { background: linear-gradient(to right, #42454a, #43424a); }
Similar colors
#414549Stargazing#46494eTuna#3e4244Metropolitan Silhouette#474c50Witchcraft#474d52Sooty Lashes#3b444bArsenic#3b3c41In the Dark#494d55Isolation
Closest common color name: Graphite.
Questions
- What color is #42454A?
- #42454A is a dark gray, closest to the named color Stargazing. It belongs to the gray family of colors.
- What is the RGB value of #42454A?
- The RGB value is 66, 69, 74: 66 red, 69 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #42454A?
- The complementary color is #4A4742, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42454A?
- White text. Black text has a contrast ratio of 2.18:1 and white text 9.63:1. WCAG asks for at least 4.5:1 for normal text.