#40494A color
The hex color #40494A is a dark gray.
In the RGB color model it is made of 25.1% red, 28.6% green and 29% blue (64, 73, 74).
Its hue angle is 186°, with 7% saturation and 27% lightness. For print, the CMYK equivalent is 14% cyan, 1% magenta, 0% yellow and 71% black.
The closest named color is Dark Space (#414A4C), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.25:1).
#40494A color codes
| HEX | #40494A | |
|---|---|---|
| RGB | rgb(64, 73, 74) | |
| RGB percent | rgb(25.1%, 28.6%, 29%) | |
| HSL | hsl(186, 7%, 27%) | |
| HSV / HSB | hsv(186, 14%, 29%) | |
| CMYK | cmyk(14%, 1%, 0%, 71%) | |
| CIE LAB | lab(30.28, -3.39, -1.83) | |
| CIE LCH | lch(30.28, 3.85, 208.41) | |
| CIE XYZ | xyz(5.733, 6.349, 7.401) | |
| Decimal | 4213066 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40494A, 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 #40494A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.27:1 | Fail | Fail | Fail |
| Sample text | 9.25:1 | Pass | Pass | Pass |
| #40494A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.25:1 | Pass | Pass | Pass |
| Sample text | 2.27: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 #40494A looks to people with the most common types of color vision deficiency.
#48484aProtanopia
no red cones#46474aDeuteranopia
no green cones#3d4a49Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #40494a; }
.text { color: #40494a; }
.border { border: 2px solid #40494a; }
.transparent { background-color: rgb(64 73 74 / 50%); }
.gradient { background: linear-gradient(to right, #40494a, #40444a); }
Similar colors
#414a4cDark Space#444b4aMoonless Sky#3d474bLights Out#424c4aUrban Chic#494e4fCover of Night#495252Dark as Night#445155Descent Into the Catacombs#445055Obsidian
Closest common color name: Charcoal.
Questions
- What color is #40494A?
- #40494A is a dark gray, closest to the named color Dark Space. It belongs to the gray family of colors.
- What is the RGB value of #40494A?
- The RGB value is 64, 73, 74: 64 red, 73 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #40494A?
- The complementary color is #4A4140, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40494A?
- White text. Black text has a contrast ratio of 2.27:1 and white text 9.25:1. WCAG asks for at least 4.5:1 for normal text.