#404452 color
The hex color #404452 is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 26.7% green and 32.2% blue (64, 68, 82).
Its hue angle is 227°, with 12% saturation and 29% lightness. For print, the CMYK equivalent is 22% cyan, 17% magenta, 0% yellow and 68% black.
The closest named color is Madonna (#3F4250), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.69:1).
#404452 color codes
| HEX | #404452 | |
|---|---|---|
| RGB | rgb(64, 68, 82) | |
| RGB percent | rgb(25.1%, 26.7%, 32.2%) | |
| HSL | hsl(227, 12%, 29%) | |
| HSV / HSB | hsv(227, 22%, 32%) | |
| CMYK | cmyk(22%, 17%, 0%, 68%) | |
| CIE LAB | lab(28.99, 1.84, -8.93) | |
| CIE LCH | lch(28.99, 9.12, 281.67) | |
| CIE XYZ | xyz(5.704, 5.833, 8.806) | |
| Decimal | 4211794 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404452, 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 #404452 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.17:1 | Fail | Fail | Fail |
| Sample text | 9.69:1 | Pass | Pass | Pass |
| #404452 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.69:1 | Pass | Pass | Pass |
| Sample text | 2.17: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 #404452 looks to people with the most common types of color vision deficiency.
#404553Protanopia
no red cones#3f4452Deuteranopia
no green cones#3c4749Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #404452; }
.text { color: #404452; }
.border { border: 2px solid #404452; }
.transparent { background-color: rgb(64 68 82 / 50%); }
.gradient { background: linear-gradient(to right, #404452, #454052); }
Similar colors
#3f4250Madonna#3c4151Lava Stone#41434eMidnight Serenade#424753Midnight Sky#3f4551Dark Crypt#393f4bInkblot#484753Gun Powder#353f51Dark & Stormy
Closest common color name: Charcoal.
Questions
- What color is #404452?
- #404452 is a dark, grayish blue, closest to the named color Madonna. It belongs to the gray family of colors.
- What is the RGB value of #404452?
- The RGB value is 64, 68, 82: 64 red, 68 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #404452?
- The complementary color is #524E40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404452?
- White text. Black text has a contrast ratio of 2.17:1 and white text 9.69:1. WCAG asks for at least 4.5:1 for normal text.