#404B5D color
The hex color #404B5D is a dark, grayish azure.
In the RGB color model it is made of 25.1% red, 29.4% green and 36.5% blue (64, 75, 93).
Its hue angle is 217°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 31% cyan, 19% magenta, 0% yellow and 64% black.
The closest named color is Starless Night (#3E4855), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.81:1).
#404B5D color codes
| HEX | #404B5D | |
|---|---|---|
| RGB | rgb(64, 75, 93) | |
| RGB percent | rgb(25.1%, 29.4%, 36.5%) | |
| HSL | hsl(217, 18%, 31%) | |
| HSV / HSB | hsv(217, 31%, 36%) | |
| CMYK | cmyk(31%, 19%, 0%, 64%) | |
| CIE LAB | lab(31.61, 0.37, -12.02) | |
| CIE LCH | lch(31.61, 12.02, 271.77) | |
| CIE XYZ | xyz(6.606, 6.912, 11.34) | |
| Decimal | 4213597 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404B5D, 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 #404B5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.38:1 | Fail | Fail | Fail |
| Sample text | 8.81:1 | Pass | Pass | Pass |
| #404B5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.81:1 | Pass | Pass | Pass |
| Sample text | 2.38: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 #404B5D looks to people with the most common types of color vision deficiency.
#454c5eProtanopia
no red cones#42495dDeuteranopia
no green cones#384f51Tritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #404b5d; }
.text { color: #404b5d; }
.border { border: 2px solid #404b5d; }
.transparent { background-color: rgb(64 75 93 / 50%); }
.gradient { background: linear-gradient(to right, #404b5d, #44405d); }
Similar colors
#3e4855Starless Night#3a4a63Silent Sea#425267Into the Stratosphere#424753Midnight Sky#3f4551Dark Crypt#44556bInkjet#353f51Dark & Stormy#404c57Abyssal
Closest common color name: Charcoal.
Questions
- What color is #404B5D?
- #404B5D is a dark, grayish azure, closest to the named color Starless Night. It belongs to the gray family of colors.
- What is the RGB value of #404B5D?
- The RGB value is 64, 75, 93: 64 red, 75 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #404B5D?
- The complementary color is #5D5240, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404B5D?
- White text. Black text has a contrast ratio of 2.38:1 and white text 8.81:1. WCAG asks for at least 4.5:1 for normal text.