#404F6B color
The hex color #404F6B is a dark, desaturated azure.
In the RGB color model it is made of 25.1% red, 31% green and 42% blue (64, 79, 107).
Its hue angle is 219°, with 25% saturation and 34% lightness. For print, the CMYK equivalent is 40% cyan, 26% magenta, 0% yellow and 58% black.
The closest named color is Naval Blue (#384B6B), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.24:1).
#404F6B color codes
| HEX | #404F6B | |
|---|---|---|
| RGB | rgb(64, 79, 107) | |
| RGB percent | rgb(25.1%, 31%, 42%) | |
| HSL | hsl(219, 25%, 34%) | |
| HSV / HSB | hsv(219, 40%, 42%) | |
| CMYK | cmyk(40%, 26%, 0%, 58%) | |
| CIE LAB | lab(33.44, 1.95, -18.06) | |
| CIE LCH | lch(33.44, 18.16, 276.16) | |
| CIE XYZ | xyz(7.563, 7.743, 15.003) | |
| Decimal | 4214635 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404F6B, 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 #404F6B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.24:1 | Pass | Pass | Pass |
| #404F6B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.24:1 | Pass | Pass | Pass |
| Sample text | 2.55: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 #404F6B looks to people with the most common types of color vision deficiency.
#45516cProtanopia
no red cones#414d6aDeuteranopia
no green cones#325559Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #404f6b; }
.text { color: #404f6b; }
.border { border: 2px solid #404f6b; }
.transparent { background-color: rgb(64 79 107 / 50%); }
.gradient { background: linear-gradient(to right, #404f6b, #46406b); }
Similar colors
#384b6bNaval Blue#3a4a63Silent Sea#3a4866Bonne Nuit#425267Into the Stratosphere#44556bInkjet#32496fMidnight Interlude#314662Stay the Night#3b476bStarlit Night
Closest common color name: Charcoal.
Questions
- What color is #404F6B?
- #404F6B is a dark, desaturated azure, closest to the named color Naval Blue. It belongs to the blue family of colors.
- What is the RGB value of #404F6B?
- The RGB value is 64, 79, 107: 64 red, 79 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #404F6B?
- The complementary color is #6B5C40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404F6B?
- White text. Black text has a contrast ratio of 2.55:1 and white text 8.24:1. WCAG asks for at least 4.5:1 for normal text.