#404A5F color
The hex color #404A5F is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 29% green and 37.3% blue (64, 74, 95).
Its hue angle is 221°, with 19% saturation and 31% lightness. For print, the CMYK equivalent is 33% cyan, 22% magenta, 0% yellow and 63% black.
The closest named color is Silent Sea (#3A4A63), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.89:1).
#404A5F color codes
| HEX | #404A5F | |
|---|---|---|
| RGB | rgb(64, 74, 95) | |
| RGB percent | rgb(25.1%, 29%, 37.3%) | |
| HSL | hsl(221, 19%, 31%) | |
| HSV / HSB | hsv(221, 33%, 37%) | |
| CMYK | cmyk(33%, 22%, 0%, 63%) | |
| CIE LAB | lab(31.38, 1.59, -13.64) | |
| CIE LCH | lch(31.38, 13.73, 276.63) | |
| CIE XYZ | xyz(6.628, 6.814, 11.79) | |
| Decimal | 4213343 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404A5F, 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 #404A5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.36:1 | Fail | Fail | Fail |
| Sample text | 8.89:1 | Pass | Pass | Pass |
| #404A5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.89:1 | Pass | Pass | Pass |
| Sample text | 2.36: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 #404A5F looks to people with the most common types of color vision deficiency.
#434b60Protanopia
no red cones#40495fDeuteranopia
no green cones#374e51Tritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #404a5f; }
.text { color: #404a5f; }
.border { border: 2px solid #404a5f; }
.transparent { background-color: rgb(64 74 95 / 50%); }
.gradient { background: linear-gradient(to right, #404a5f, #45405f); }
Similar colors
#3a4a63Silent Sea#3a4866Bonne Nuit#425267Into the Stratosphere#3c4151Lava Stone#314159Pi#353f51Dark & Stormy#424753Midnight Sky#384b6bNaval Blue
Closest common color name: Charcoal.
Questions
- What color is #404A5F?
- #404A5F is a dark, grayish blue, closest to the named color Silent Sea. It belongs to the blue family of colors.
- What is the RGB value of #404A5F?
- The RGB value is 64, 74, 95: 64 red, 74 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #404A5F?
- The complementary color is #5F5540, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404A5F?
- White text. Black text has a contrast ratio of 2.36:1 and white text 8.89:1. WCAG asks for at least 4.5:1 for normal text.