#42525E color
The hex color #42525E is a dark, grayish azure.
In the RGB color model it is made of 25.9% red, 32.2% green and 36.9% blue (66, 82, 94).
Its hue angle is 206°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 30% cyan, 13% magenta, 0% yellow and 63% black.
The closest named color is Nightfall (#43535E), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.08:1).
#42525E color codes
| HEX | #42525E | |
|---|---|---|
| RGB | rgb(66, 82, 94) | |
| RGB percent | rgb(25.9%, 32.2%, 36.9%) | |
| HSL | hsl(206, 18%, 31%) | |
| HSV / HSB | hsv(206, 30%, 37%) | |
| CMYK | cmyk(30%, 13%, 0%, 63%) | |
| CIE LAB | lab(33.98, -3.07, -9.03) | |
| CIE LCH | lch(33.98, 9.54, 251.22) | |
| CIE XYZ | xyz(7.284, 8.001, 11.748) | |
| Decimal | 4346462 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42525E, 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 #42525E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.6:1 | Fail | Fail | Fail |
| Sample text | 8.08:1 | Pass | Pass | Pass |
| #42525E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.08:1 | Pass | Pass | Pass |
| Sample text | 2.6: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 #42525E looks to people with the most common types of color vision deficiency.
#4d525fProtanopia
no red cones#494f5eDeuteranopia
no green cones#3a5556Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #42525e; }
.text { color: #42525e; }
.border { border: 2px solid #42525e; }
.transparent { background-color: rgb(66 82 94 / 50%); }
.gradient { background: linear-gradient(to right, #42525e, #42445e); }
Similar colors
#43535eNightfall#3e5361Dark Secret#46565fGood Night!#404c57Abyssal#3f5865Stargazer#4b5a62Fiord#4a5c6aSeven Seas#445055Obsidian
Closest common color name: Charcoal.
Questions
- What color is #42525E?
- #42525E is a dark, grayish azure, closest to the named color Nightfall. It belongs to the gray family of colors.
- What is the RGB value of #42525E?
- The RGB value is 66, 82, 94: 66 red, 82 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #42525E?
- The complementary color is #5E4E42, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42525E?
- White text. Black text has a contrast ratio of 2.6:1 and white text 8.08:1. WCAG asks for at least 4.5:1 for normal text.