#404E97 color
The hex color #404E97 is a desaturated blue.
In the RGB color model it is made of 25.1% red, 30.6% green and 59.2% blue (64, 78, 151).
Its hue angle is 230°, with 40% saturation and 42% lightness. For print, the CMYK equivalent is 58% cyan, 48% magenta, 0% yellow and 41% black.
The closest named color is Queen of the Night Shift (#3D4585), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.62:1).
#404E97 color codes
| HEX | #404E97 | |
|---|---|---|
| RGB | rgb(64, 78, 151) | |
| RGB percent | rgb(25.1%, 30.6%, 59.2%) | |
| HSL | hsl(230, 40%, 42%) | |
| HSV / HSB | hsv(230, 58%, 59%) | |
| CMYK | cmyk(58%, 48%, 0%, 41%) | |
| CIE LAB | lab(35.54, 17.16, -41.87) | |
| CIE LCH | lch(35.54, 45.25, 292.28) | |
| CIE XYZ | xyz(10.423, 8.772, 30.416) | |
| Decimal | 4214423 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404E97, 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 #404E97 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.75:1 | Fail | Fail | Fail |
| Sample text | 7.62:1 | Pass | Pass | Pass |
| #404E97 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.62:1 | Pass | Pass | Pass |
| Sample text | 2.75: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 #404E97 looks to people with the most common types of color vision deficiency.
#2b589aProtanopia
no red cones#1f5095Deuteranopia
no green cones#0b5e6bTritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #404e97; }
.text { color: #404e97; }
.border { border: 2px solid #404e97; }
.transparent { background-color: rgb(64 78 151 / 50%); }
.gradient { background: linear-gradient(to right, #404e97, #5d4097); }
Similar colors
#3d4585Queen of the Night Shift#444499Galaxy Express#2e5090Nightly Activities#4e518bTwilight#234893Cascade Twilight#3356aaBlasphemous Blue#25488aPacific Navy#244e94Le Grand Bleu
Closest common color name: Cobalt Blue.
Questions
- What color is #404E97?
- #404E97 is a desaturated blue, closest to the named color Queen of the Night Shift. It belongs to the blue family of colors.
- What is the RGB value of #404E97?
- The RGB value is 64, 78, 151: 64 red, 78 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #404E97?
- The complementary color is #978940, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404E97?
- White text. Black text has a contrast ratio of 2.75:1 and white text 7.62:1. WCAG asks for at least 4.5:1 for normal text.