#404E7C color
The hex color #404E7C is a dark, desaturated blue.
In the RGB color model it is made of 25.1% red, 30.6% green and 48.6% blue (64, 78, 124).
Its hue angle is 226°, with 32% saturation and 37% lightness. For print, the CMYK equivalent is 48% cyan, 37% magenta, 0% yellow and 51% black.
The closest named color is Noble Knight (#394D78), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.08:1).
#404E7C color codes
| HEX | #404E7C | |
|---|---|---|
| RGB | rgb(64, 78, 124) | |
| RGB percent | rgb(25.1%, 30.6%, 48.6%) | |
| HSL | hsl(226, 32%, 37%) | |
| HSV / HSB | hsv(226, 48%, 49%) | |
| CMYK | cmyk(48%, 37%, 0%, 51%) | |
| CIE LAB | lab(33.97, 8, -27.84) | |
| CIE LCH | lch(33.97, 28.97, 286.03) | |
| CIE XYZ | xyz(8.476, 7.994, 20.161) | |
| Decimal | 4214396 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404E7C, 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 #404E7C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.6:1 | Fail | Fail | Fail |
| Sample text | 8.08:1 | Pass | Pass | Pass |
| #404E7C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.08:1 | Pass | Pass | Pass |
| Sample text | 2.6: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 #404E7C looks to people with the most common types of color vision deficiency.
#3d537eProtanopia
no red cones#374d7bDeuteranopia
no green cones#29585fTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #404e7c; }
.text { color: #404e7c; }
.border { border: 2px solid #404e7c; }
.transparent { background-color: rgb(64 78 124 / 50%); }
.gradient { background: linear-gradient(to right, #404e7c, #50407c); }
Similar colors
#394d78Noble Knight#39527dSt. Tropaz#445780Sailor#314a76Dragonfly#4e5481Dusk#3b476bStarlit Night#324471Space Missions#34466cForlorn Cruise
Closest common color name: Dark Slate Blue.
Questions
- What color is #404E7C?
- #404E7C is a dark, desaturated blue, closest to the named color Noble Knight. It belongs to the blue family of colors.
- What is the RGB value of #404E7C?
- The RGB value is 64, 78, 124: 64 red, 78 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #404E7C?
- The complementary color is #7C6E40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404E7C?
- White text. Black text has a contrast ratio of 2.6:1 and white text 8.08:1. WCAG asks for at least 4.5:1 for normal text.