#404E6B color
The hex color #404E6B is a dark, desaturated blue.
In the RGB color model it is made of 25.1% red, 30.6% green and 42% blue (64, 78, 107).
Its hue angle is 220°, with 25% saturation and 34% lightness. For print, the CMYK equivalent is 40% cyan, 27% magenta, 0% yellow and 58% black.
The closest named color is Naval Blue (#384B6B), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.33:1).
#404E6B color codes
| HEX | #404E6B | |
|---|---|---|
| RGB | rgb(64, 78, 107) | |
| RGB percent | rgb(25.1%, 30.6%, 42%) | |
| HSL | hsl(220, 25%, 34%) | |
| HSV / HSB | hsv(220, 40%, 42%) | |
| CMYK | cmyk(40%, 27%, 0%, 58%) | |
| CIE LAB | lab(33.14, 2.59, -18.53) | |
| CIE LCH | lch(33.14, 18.71, 277.96) | |
| CIE XYZ | xyz(7.492, 7.6, 14.979) | |
| Decimal | 4214379 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404E6B, 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 #404E6B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.52:1 | Fail | Fail | Fail |
| Sample text | 8.33:1 | Pass | Pass | Pass |
| #404E6B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.33:1 | Pass | Pass | Pass |
| Sample text | 2.52: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 #404E6B looks to people with the most common types of color vision deficiency.
#44506cProtanopia
no red cones#404c6aDeuteranopia
no green cones#325458Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #404e6b; }
.text { color: #404e6b; }
.border { border: 2px solid #404e6b; }
.transparent { background-color: rgb(64 78 107 / 50%); }
.gradient { background: linear-gradient(to right, #404e6b, #48406b); }
Similar colors
#384b6bNaval Blue#3a4866Bonne Nuit#3a4a63Silent Sea#3b476bStarlit Night#32496fMidnight Interlude#34466cForlorn Cruise#394d78Noble Knight#314662Stay the Night
Closest common color name: Charcoal.
Questions
- What color is #404E6B?
- #404E6B is a dark, desaturated blue, closest to the named color Naval Blue. It belongs to the blue family of colors.
- What is the RGB value of #404E6B?
- The RGB value is 64, 78, 107: 64 red, 78 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #404E6B?
- The complementary color is #6B5D40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404E6B?
- White text. Black text has a contrast ratio of 2.52:1 and white text 8.33:1. WCAG asks for at least 4.5:1 for normal text.