#404E4F color
The hex color #404E4F is a dark, grayish cyan.
In the RGB color model it is made of 25.1% red, 30.6% green and 31% blue (64, 78, 79).
Its hue angle is 184°, with 10% saturation and 28% lightness. For print, the CMYK equivalent is 19% cyan, 1% magenta, 0% yellow and 69% black.
The closest named color is All Nighter (#455454), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.68:1).
#404E4F color codes
| HEX | #404E4F | |
|---|---|---|
| RGB | rgb(64, 78, 79) | |
| RGB percent | rgb(25.1%, 30.6%, 31%) | |
| HSL | hsl(184, 10%, 28%) | |
| HSV / HSB | hsv(184, 19%, 31%) | |
| CMYK | cmyk(19%, 1%, 0%, 69%) | |
| CIE LAB | lab(32.04, -5.26, -2.44) | |
| CIE LCH | lch(32.04, 5.8, 204.87) | |
| CIE XYZ | xyz(6.25, 7.103, 8.437) | |
| Decimal | 4214351 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404E4F, 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 #404E4F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.42:1 | Fail | Fail | Fail |
| Sample text | 8.68:1 | Pass | Pass | Pass |
| #404E4F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.68:1 | Pass | Pass | Pass |
| Sample text | 2.42: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 #404E4F looks to people with the most common types of color vision deficiency.
#4c4d4fProtanopia
no red cones#494a4fDeuteranopia
no green cones#3c4f4eTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #404e4f; }
.text { color: #404e4f; }
.border { border: 2px solid #404e4f; }
.transparent { background-color: rgb(64 78 79 / 50%); }
.gradient { background: linear-gradient(to right, #404e4f, #40474f); }
Similar colors
#455454All Nighter#424c4aUrban Chic#445155Descent Into the Catacombs#3c4f4eNight Watch#414a4cDark Space#495252Dark as Night#445055Obsidian#444b4aMoonless Sky
Closest common color name: Charcoal.
Questions
- What color is #404E4F?
- #404E4F is a dark, grayish cyan, closest to the named color All Nighter. It belongs to the gray family of colors.
- What is the RGB value of #404E4F?
- The RGB value is 64, 78, 79: 64 red, 78 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #404E4F?
- The complementary color is #4F4140, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404E4F?
- White text. Black text has a contrast ratio of 2.42:1 and white text 8.68:1. WCAG asks for at least 4.5:1 for normal text.