#405252 color
The hex color #405252 is a dark, grayish cyan.
In the RGB color model it is made of 25.1% red, 32.2% green and 32.2% blue (64, 82, 82).
Its hue angle is 180°, with 12% saturation and 29% lightness. For print, the CMYK equivalent is 22% cyan, 0% magenta, 0% yellow and 68% black.
The closest named color is Night Watch (#3C4F4E), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.25:1).
#405252 color codes
| HEX | #405252 | |
|---|---|---|
| RGB | rgb(64, 82, 82) | |
| RGB percent | rgb(25.1%, 32.2%, 32.2%) | |
| HSL | hsl(180, 12%, 29%) | |
| HSV / HSB | hsv(180, 22%, 32%) | |
| CMYK | cmyk(22%, 0%, 0%, 68%) | |
| CIE LAB | lab(33.42, -6.95, -2.31) | |
| CIE LCH | lch(33.42, 7.32, 198.36) | |
| CIE XYZ | xyz(6.654, 7.734, 9.123) | |
| Decimal | 4215378 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405252, 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 #405252 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.25:1 | Pass | Pass | Pass |
| #405252 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.25:1 | Pass | Pass | Pass |
| Sample text | 2.55: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 #405252 looks to people with the most common types of color vision deficiency.
#505052Protanopia
no red cones#4c4d52Deuteranopia
no green cones#3a5352Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #405252; }
.text { color: #405252; }
.border { border: 2px solid #405252; }
.transparent { background-color: rgb(64 82 82 / 50%); }
.gradient { background: linear-gradient(to right, #405252, #404952); }
Similar colors
#3c4f4eNight Watch#455454All Nighter#475c5dWoodland Night#424c4aUrban Chic#445155Descent Into the Catacombs#495252Dark as Night#4a5d5fStill Waters Run Deep#445055Obsidian
Closest common color name: Dark Slate Gray.
Questions
- What color is #405252?
- #405252 is a dark, grayish cyan, closest to the named color Night Watch. It belongs to the gray family of colors.
- What is the RGB value of #405252?
- The RGB value is 64, 82, 82: 64 red, 82 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #405252?
- The complementary color is #524040, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405252?
- White text. Black text has a contrast ratio of 2.55:1 and white text 8.25:1. WCAG asks for at least 4.5:1 for normal text.