#40413E color
The hex color #40413E is a dark gray.
In the RGB color model it is made of 25.1% red, 25.5% green and 24.3% blue (64, 65, 62).
Its hue angle is 80°, with 2% saturation and 25% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 5% yellow and 75% black.
The closest named color is Vulcanised (#424443), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.28:1).
#40413E color codes
| HEX | #40413E | |
|---|---|---|
| RGB | rgb(64, 65, 62) | |
| RGB percent | rgb(25.1%, 25.5%, 24.3%) | |
| HSL | hsl(80, 2%, 25%) | |
| HSV / HSB | hsv(80, 5%, 25%) | |
| CMYK | cmyk(2%, 0%, 5%, 75%) | |
| CIE LAB | lab(27.35, -1.08, 1.68) | |
| CIE LCH | lch(27.35, 2, 122.83) | |
| CIE XYZ | xyz(4.874, 5.218, 5.307) | |
| Decimal | 4211006 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40413E, 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 #40413E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.28:1 | Pass | Pass | Pass |
| #40413E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.28:1 | Pass | Pass | Pass |
| Sample text | 2.04: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 #40413E looks to people with the most common types of color vision deficiency.
#41413eProtanopia
no red cones#41413eDeuteranopia
no green cones#404140Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #40413e; }
.text { color: #40413e; }
.border { border: 2px solid #40413e; }
.transparent { background-color: rgb(64 65 62 / 50%); }
.gradient { background: linear-gradient(to right, #40413e, #3f413e); }
Similar colors
#424443Vulcanised#424242Black Panther#3b3c36Black Olive#44413cDeepest Nightmare#3b3f40Tamahagane#484a46Armadillo#3e4244Metropolitan Silhouette#353935Onyx
Questions
- What color is #40413E?
- #40413E is a dark gray, closest to the named color Vulcanised. It belongs to the gray family of colors.
- What is the RGB value of #40413E?
- The RGB value is 64, 65, 62: 64 red, 65 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #40413E?
- The complementary color is #3F3E41, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40413E?
- White text. Black text has a contrast ratio of 2.04:1 and white text 10.28:1. WCAG asks for at least 4.5:1 for normal text.