#404643 color
The hex color #404643 is a dark gray.
In the RGB color model it is made of 25.1% red, 27.5% green and 26.3% blue (64, 70, 67).
Its hue angle is 150°, with 4% saturation and 26% lightness. For print, the CMYK equivalent is 9% cyan, 0% magenta, 4% yellow and 73% black.
The closest named color is Moonless Sky (#444B4A), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.65:1).
#404643 color codes
| HEX | #404643 | |
|---|---|---|
| RGB | rgb(64, 70, 67) | |
| RGB percent | rgb(25.1%, 27.5%, 26.3%) | |
| HSL | hsl(150, 4%, 26%) | |
| HSV / HSB | hsv(150, 9%, 27%) | |
| CMYK | cmyk(9%, 0%, 4%, 73%) | |
| CIE LAB | lab(29.1, -3.15, 0.96) | |
| CIE LCH | lch(29.1, 3.29, 163.02) | |
| CIE XYZ | xyz(5.317, 5.875, 6.163) | |
| Decimal | 4212291 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404643, 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 #404643 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.65:1 | Pass | Pass | Pass |
| #404643 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.65:1 | Pass | Pass | Pass |
| Sample text | 2.18: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 #404643 looks to people with the most common types of color vision deficiency.
#464543Protanopia
no red cones#454443Deuteranopia
no green cones#3f4645Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #404643; }
.text { color: #404643; }
.border { border: 2px solid #404643; }
.transparent { background-color: rgb(64 70 67 / 50%); }
.gradient { background: linear-gradient(to right, #404643, #404646); }
Similar colors
#444b4aMoonless Sky#424c4aUrban Chic#484a46Armadillo#424443Vulcanised#444b43Ancient Pine#414a4cDark Space#3b3f40Tamahagane#3c463eDeep Forest
Closest common color name: Onyx.
Questions
- What color is #404643?
- #404643 is a dark gray, closest to the named color Moonless Sky. It belongs to the gray family of colors.
- What is the RGB value of #404643?
- The RGB value is 64, 70, 67: 64 red, 70 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #404643?
- The complementary color is #464043, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404643?
- White text. Black text has a contrast ratio of 2.18:1 and white text 9.65:1. WCAG asks for at least 4.5:1 for normal text.