#404662 color
The hex color #404662 is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 27.5% green and 38.4% blue (64, 70, 98).
Its hue angle is 229°, with 21% saturation and 32% lightness. For print, the CMYK equivalent is 35% cyan, 29% magenta, 0% yellow and 62% black.
The closest named color is Genie (#3E4364), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.25:1).
#404662 color codes
| HEX | #404662 | |
|---|---|---|
| RGB | rgb(64, 70, 98) | |
| RGB percent | rgb(25.1%, 27.5%, 38.4%) | |
| HSL | hsl(229, 21%, 32%) | |
| HSV / HSB | hsv(229, 35%, 38%) | |
| CMYK | cmyk(35%, 29%, 0%, 62%) | |
| CIE LAB | lab(30.28, 5.06, -17.24) | |
| CIE LCH | lch(30.28, 17.97, 286.36) | |
| CIE XYZ | xyz(6.508, 6.352, 12.436) | |
| Decimal | 4212322 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404662, 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 #404662 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.27:1 | Fail | Fail | Fail |
| Sample text | 9.25:1 | Pass | Pass | Pass |
| #404662 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.25:1 | Pass | Pass | Pass |
| Sample text | 2.27: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 #404662 looks to people with the most common types of color vision deficiency.
#3d4963Protanopia
no red cones#3b4661Deuteranopia
no green cones#374b50Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #404662; }
.text { color: #404662; }
.border { border: 2px solid #404662; }
.transparent { background-color: rgb(64 70 98 / 50%); }
.gradient { background: linear-gradient(to right, #404662, #4b4062); }
Similar colors
#3e4364Genie#3a4866Bonne Nuit#3b476bStarlit Night#4d516cIntergalactic#34466cForlorn Cruise#3d3d63Storm Is Coming#384b6bNaval Blue#3a4a63Silent Sea
Closest common color name: Charcoal.
Questions
- What color is #404662?
- #404662 is a dark, grayish blue, closest to the named color Genie. It belongs to the blue family of colors.
- What is the RGB value of #404662?
- The RGB value is 64, 70, 98: 64 red, 70 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #404662?
- The complementary color is #625C40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404662?
- White text. Black text has a contrast ratio of 2.27:1 and white text 9.25:1. WCAG asks for at least 4.5:1 for normal text.