#40494D color
The hex color #40494D is a dark, grayish azure.
In the RGB color model it is made of 25.1% red, 28.6% green and 30.2% blue (64, 73, 77).
Its hue angle is 198°, with 9% saturation and 28% lightness. For print, the CMYK equivalent is 17% cyan, 5% magenta, 0% yellow and 70% black.
The closest named color is Lights Out (#3D474B), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.22:1).
#40494D color codes
| HEX | #40494D | |
|---|---|---|
| RGB | rgb(64, 73, 77) | |
| RGB percent | rgb(25.1%, 28.6%, 30.2%) | |
| HSL | hsl(198, 9%, 28%) | |
| HSV / HSB | hsv(198, 17%, 30%) | |
| CMYK | cmyk(17%, 5%, 0%, 70%) | |
| CIE LAB | lab(30.38, -2.65, -3.62) | |
| CIE LCH | lch(30.38, 4.48, 233.79) | |
| CIE XYZ | xyz(5.836, 6.391, 7.946) | |
| Decimal | 4213069 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40494D, 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 #40494D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.22:1 | Pass | Pass | Pass |
| #40494D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.22:1 | Pass | Pass | Pass |
| Sample text | 2.28: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 #40494D looks to people with the most common types of color vision deficiency.
#47484dProtanopia
no red cones#45474dDeuteranopia
no green cones#3d4a4aTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #40494d; }
.text { color: #40494d; }
.border { border: 2px solid #40494d; }
.transparent { background-color: rgb(64 73 77 / 50%); }
.gradient { background: linear-gradient(to right, #40494d, #40434d); }
Similar colors
#3d474bLights Out#414a4cDark Space#474c50Witchcraft#474d52Sooty Lashes#3b444bArsenic#445055Obsidian#414549Stargazing#494e4fCover of Night
Closest common color name: Charcoal.
Questions
- What color is #40494D?
- #40494D is a dark, grayish azure, closest to the named color Lights Out. It belongs to the gray family of colors.
- What is the RGB value of #40494D?
- The RGB value is 64, 73, 77: 64 red, 73 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #40494D?
- The complementary color is #4D4440, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40494D?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.22:1. WCAG asks for at least 4.5:1 for normal text.