#404350 color
The hex color #404350 is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 26.3% green and 31.4% blue (64, 67, 80).
Its hue angle is 229°, with 11% saturation and 28% lightness. For print, the CMYK equivalent is 20% cyan, 16% magenta, 0% yellow and 69% black.
The closest named color is Madonna (#3F4250), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.83:1).
#404350 color codes
| HEX | #404350 | |
|---|---|---|
| RGB | rgb(64, 67, 80) | |
| RGB percent | rgb(25.1%, 26.3%, 31.4%) | |
| HSL | hsl(229, 11%, 28%) | |
| HSV / HSB | hsv(229, 20%, 31%) | |
| CMYK | cmyk(20%, 16%, 0%, 69%) | |
| CIE LAB | lab(28.6, 1.96, -8.22) | |
| CIE LCH | lch(28.6, 8.45, 283.44) | |
| CIE XYZ | xyz(5.569, 5.683, 8.391) | |
| Decimal | 4211536 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404350, 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 #404350 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.83:1 | Pass | Pass | Pass |
| #404350 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.83: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 #404350 looks to people with the most common types of color vision deficiency.
#3f4451Protanopia
no red cones#3e4350Deuteranopia
no green cones#3c4547Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #404350; }
.text { color: #404350; }
.border { border: 2px solid #404350; }
.transparent { background-color: rgb(64 67 80 / 50%); }
.gradient { background: linear-gradient(to right, #404350, #454050); }
Similar colors
#3f4250Madonna#41434eMidnight Serenade#3c4151Lava Stone#424753Midnight Sky#3f4551Dark Crypt#393f4bInkblot#484753Gun Powder#494c55Deep Night
Closest common color name: Charcoal.
Questions
- What color is #404350?
- #404350 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 #404350?
- The RGB value is 64, 67, 80: 64 red, 67 green and 80 blue on a 0 to 255 scale.
- What is the complementary color of #404350?
- The complementary color is #504D40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404350?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.83:1. WCAG asks for at least 4.5:1 for normal text.