#404F50 color
The hex color #404F50 is a dark, grayish cyan.
In the RGB color model it is made of 25.1% red, 31% green and 31.4% blue (64, 79, 80).
Its hue angle is 184°, with 11% saturation and 28% lightness. For print, the CMYK equivalent is 20% cyan, 1% magenta, 0% yellow and 69% black.
The closest named color is All Nighter (#455454), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.56:1).
#404F50 color codes
| HEX | #404F50 | |
|---|---|---|
| RGB | rgb(64, 79, 80) | |
| RGB percent | rgb(25.1%, 31%, 31.4%) | |
| HSL | hsl(184, 11%, 28%) | |
| HSV / HSB | hsv(184, 20%, 31%) | |
| CMYK | cmyk(20%, 1%, 0%, 69%) | |
| CIE LAB | lab(32.39, -5.63, -2.55) | |
| CIE LCH | lch(32.39, 6.18, 204.42) | |
| CIE XYZ | xyz(6.358, 7.261, 8.654) | |
| Decimal | 4214608 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404F50, 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 #404F50 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.56:1 | Pass | Pass | Pass |
| #404F50 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.56:1 | Pass | Pass | Pass |
| Sample text | 2.45: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 #404F50 looks to people with the most common types of color vision deficiency.
#4d4e50Protanopia
no red cones#4a4b50Deuteranopia
no green cones#3b504fTritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #404f50; }
.text { color: #404f50; }
.border { border: 2px solid #404f50; }
.transparent { background-color: rgb(64 79 80 / 50%); }
.gradient { background: linear-gradient(to right, #404f50, #404750); }
Similar colors
#455454All Nighter#3c4f4eNight Watch#445155Descent Into the Catacombs#424c4aUrban Chic#495252Dark as Night#414a4cDark Space#445055Obsidian#444b4aMoonless Sky
Closest common color name: Dark Slate Gray.
Questions
- What color is #404F50?
- #404F50 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 #404F50?
- The RGB value is 64, 79, 80: 64 red, 79 green and 80 blue on a 0 to 255 scale.
- What is the complementary color of #404F50?
- The complementary color is #504140, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404F50?
- White text. Black text has a contrast ratio of 2.45:1 and white text 8.56:1. WCAG asks for at least 4.5:1 for normal text.