#404D5F color
The hex color #404D5F is a dark, grayish azure.
In the RGB color model it is made of 25.1% red, 30.2% green and 37.3% blue (64, 77, 95).
Its hue angle is 215°, with 19% saturation and 31% lightness. For print, the CMYK equivalent is 33% cyan, 19% magenta, 0% yellow and 63% black.
The closest named color is Into the Stratosphere (#425267), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.59:1).
#404D5F color codes
| HEX | #404D5F | |
|---|---|---|
| RGB | rgb(64, 77, 95) | |
| RGB percent | rgb(25.1%, 30.2%, 37.3%) | |
| HSL | hsl(215, 19%, 31%) | |
| HSV / HSB | hsv(215, 33%, 37%) | |
| CMYK | cmyk(33%, 19%, 0%, 63%) | |
| CIE LAB | lab(32.31, -0.33, -12.22) | |
| CIE LCH | lch(32.31, 12.22, 268.45) | |
| CIE XYZ | xyz(6.833, 7.224, 11.859) | |
| Decimal | 4214111 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404D5F, 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 #404D5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.44:1 | Fail | Fail | Fail |
| Sample text | 8.59:1 | Pass | Pass | Pass |
| #404D5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.59:1 | Pass | Pass | Pass |
| Sample text | 2.44: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 #404D5F looks to people with the most common types of color vision deficiency.
#474e60Protanopia
no red cones#434b5fDeuteranopia
no green cones#375153Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #404d5f; }
.text { color: #404d5f; }
.border { border: 2px solid #404d5f; }
.transparent { background-color: rgb(64 77 95 / 50%); }
.gradient { background: linear-gradient(to right, #404d5f, #43405f); }
Similar colors
#425267Into the Stratosphere#3e4855Starless Night#3a4a63Silent Sea#44556bInkjet#404c57Abyssal#424753Midnight Sky#324c64Bluedgeons#3f4551Dark Crypt
Closest common color name: Charcoal.
Questions
- What color is #404D5F?
- #404D5F is a dark, grayish azure, closest to the named color Into the Stratosphere. It belongs to the gray family of colors.
- What is the RGB value of #404D5F?
- The RGB value is 64, 77, 95: 64 red, 77 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #404D5F?
- The complementary color is #5F5240, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404D5F?
- White text. Black text has a contrast ratio of 2.44:1 and white text 8.59:1. WCAG asks for at least 4.5:1 for normal text.