#404867 color
The hex color #404867 is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 28.2% green and 40.4% blue (64, 72, 103).
Its hue angle is 228°, with 23% saturation and 33% lightness. For print, the CMYK equivalent is 38% cyan, 30% magenta, 0% yellow and 60% black.
The closest named color is Starlit Night (#3B476B), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.97:1).
#404867 color codes
| HEX | #404867 | |
|---|---|---|
| RGB | rgb(64, 72, 103) | |
| RGB percent | rgb(25.1%, 28.2%, 40.4%) | |
| HSL | hsl(228, 23%, 33%) | |
| HSV / HSB | hsv(228, 38%, 40%) | |
| CMYK | cmyk(38%, 30%, 0%, 60%) | |
| CIE LAB | lab(31.12, 5.26, -19.12) | |
| CIE LCH | lch(31.12, 19.83, 285.37) | |
| CIE XYZ | xyz(6.879, 6.704, 13.761) | |
| Decimal | 4212839 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404867, 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 #404867 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.97:1 | Pass | Pass | Pass |
| #404867 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.97:1 | Pass | Pass | Pass |
| Sample text | 2.34: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 #404867 looks to people with the most common types of color vision deficiency.
#3e4b68Protanopia
no red cones#3b4866Deuteranopia
no green cones#354e53Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #404867; }
.text { color: #404867; }
.border { border: 2px solid #404867; }
.transparent { background-color: rgb(64 72 103 / 50%); }
.gradient { background: linear-gradient(to right, #404867, #4b4067); }
Similar colors
#3b476bStarlit Night#3e4364Genie#3a4866Bonne Nuit#34466cForlorn Cruise#4d516cIntergalactic#384b6bNaval Blue#3a4a63Silent Sea#324471Space Missions
Closest common color name: Dark Slate Blue.
Questions
- What color is #404867?
- #404867 is a dark, grayish blue, closest to the named color Starlit Night. It belongs to the blue family of colors.
- What is the RGB value of #404867?
- The RGB value is 64, 72, 103: 64 red, 72 green and 103 blue on a 0 to 255 scale.
- What is the complementary color of #404867?
- The complementary color is #675F40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404867?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.97:1. WCAG asks for at least 4.5:1 for normal text.