#404243 color
The hex color #404243 is a dark gray.
In the RGB color model it is made of 25.1% red, 25.9% green and 26.3% blue (64, 66, 67).
Its hue angle is 200°, with 2% saturation and 26% lightness. For print, the CMYK equivalent is 4% cyan, 1% magenta, 0% yellow and 74% black.
The closest named color is Metropolitan Silhouette (#3E4244), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.1:1).
#404243 color codes
| HEX | #404243 | |
|---|---|---|
| RGB | rgb(64, 66, 67) | |
| RGB percent | rgb(25.1%, 25.9%, 26.3%) | |
| HSL | hsl(200, 2%, 26%) | |
| HSV / HSB | hsv(200, 4%, 26%) | |
| CMYK | cmyk(4%, 1%, 0%, 74%) | |
| CIE LAB | lab(27.82, -0.61, -0.9) | |
| CIE LCH | lch(27.82, 1.08, 236.02) | |
| CIE XYZ | xyz(5.075, 5.392, 6.082) | |
| Decimal | 4211267 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404243, 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 #404243 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.08:1 | Fail | Fail | Fail |
| Sample text | 10.1:1 | Pass | Pass | Pass |
| #404243 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.1:1 | Pass | Pass | Pass |
| Sample text | 2.08: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 #404243 looks to people with the most common types of color vision deficiency.
#414243Protanopia
no red cones#414143Deuteranopia
no green cones#3f4242Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #404243; }
.text { color: #404243; }
.border { border: 2px solid #404243; }
.transparent { background-color: rgb(64 66 67 / 50%); }
.gradient { background: linear-gradient(to right, #404243, #404143); }
Similar colors
#3e4244Metropolitan Silhouette#424242Black Panther#424443Vulcanised#3b3f40Tamahagane#414549Stargazing#3b3b3dCoal Hard Truth#46494eTuna#383838Graphite
Questions
- What color is #404243?
- #404243 is a dark gray, closest to the named color Metropolitan Silhouette. It belongs to the gray family of colors.
- What is the RGB value of #404243?
- The RGB value is 64, 66, 67: 64 red, 66 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #404243?
- The complementary color is #434140, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404243?
- White text. Black text has a contrast ratio of 2.08:1 and white text 10.1:1. WCAG asks for at least 4.5:1 for normal text.