#404351 color
The hex color #404351 is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 26.3% green and 31.8% blue (64, 67, 81).
Its hue angle is 229°, with 12% saturation and 28% lightness. For print, the CMYK equivalent is 21% cyan, 17% magenta, 0% yellow and 68% black.
The closest named color is Madonna (#3F4250), a difference of 0.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.81:1).
#404351 color codes
| HEX | #404351 | |
|---|---|---|
| RGB | rgb(64, 67, 81) | |
| RGB percent | rgb(25.1%, 26.3%, 31.8%) | |
| HSL | hsl(229, 12%, 28%) | |
| HSV / HSB | hsv(229, 21%, 32%) | |
| CMYK | cmyk(21%, 17%, 0%, 68%) | |
| CIE LAB | lab(28.64, 2.23, -8.81) | |
| CIE LCH | lch(28.64, 9.08, 284.19) | |
| CIE XYZ | xyz(5.606, 5.698, 8.587) | |
| Decimal | 4211537 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404351, 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 #404351 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.81:1 | Pass | Pass | Pass |
| #404351 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.81:1 | Pass | Pass | Pass |
| Sample text | 2.14: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 #404351 looks to people with the most common types of color vision deficiency.
#3f4452Protanopia
no red cones#3e4351Deuteranopia
no green cones#3c4548Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #404351; }
.text { color: #404351; }
.border { border: 2px solid #404351; }
.transparent { background-color: rgb(64 67 81 / 50%); }
.gradient { background: linear-gradient(to right, #404351, #464051); }
Similar colors
#3f4250Madonna#3c4151Lava Stone#41434eMidnight Serenade#424753Midnight Sky#3f4551Dark Crypt#484753Gun Powder#393f4bInkblot#353f51Dark & Stormy
Closest common color name: Charcoal.
Questions
- What color is #404351?
- #404351 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 #404351?
- The RGB value is 64, 67, 81: 64 red, 67 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #404351?
- The complementary color is #514E40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404351?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.81:1. WCAG asks for at least 4.5:1 for normal text.