#40353D color
The hex color #40353D is a dark, grayish magenta.
In the RGB color model it is made of 25.1% red, 20.8% green and 23.9% blue (64, 53, 61).
Its hue angle is 316°, with 9% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 17% magenta, 5% yellow and 75% black.
The closest named color is Pitch Black (#483C41), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.7:1).
#40353D color codes
| HEX | #40353D | |
|---|---|---|
| RGB | rgb(64, 53, 61) | |
| RGB percent | rgb(25.1%, 20.8%, 23.9%) | |
| HSL | hsl(316, 9%, 23%) | |
| HSV / HSB | hsv(316, 17%, 25%) | |
| CMYK | cmyk(0%, 17%, 5%, 75%) | |
| CIE LAB | lab(23.58, 6.57, -3.17) | |
| CIE LCH | lch(23.58, 7.3, 334.22) | |
| CIE XYZ | xyz(4.23, 3.973, 4.958) | |
| Decimal | 4207933 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40353D, 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 #40353D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.7:1 | Pass | Pass | Pass |
| #40353D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.7:1 | Pass | Pass | Pass |
| Sample text | 1.79: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 #40353D looks to people with the most common types of color vision deficiency.
#35373dProtanopia
no red cones#37393dDeuteranopia
no green cones#413538Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #40353d; }
.text { color: #40353d; }
.border { border: 2px solid #40353d; }
.transparent { background-color: rgb(64 53 61 / 50%); }
.gradient { background: linear-gradient(to right, #40353d, #403538); }
Similar colors
#483c41Pitch Black#41373aVoid Wellness Coach#352b30Mystical Shadow#393540Professor Plum#342931Melanzane#443240Voodoo#3f3c43Tuxedo#34282cSmoky Charcoal
Closest common color name: Graphite.
Questions
- What color is #40353D?
- #40353D is a dark, grayish magenta, closest to the named color Pitch Black. It belongs to the gray family of colors.
- What is the RGB value of #40353D?
- The RGB value is 64, 53, 61: 64 red, 53 green and 61 blue on a 0 to 255 scale.
- What is the complementary color of #40353D?
- The complementary color is #354038, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40353D?
- White text. Black text has a contrast ratio of 1.79:1 and white text 11.7:1. WCAG asks for at least 4.5:1 for normal text.