#404D70 color
The hex color #404D70 is a dark, desaturated blue.
In the RGB color model it is made of 25.1% red, 30.2% green and 43.9% blue (64, 77, 112).
Its hue angle is 224°, with 27% saturation and 35% lightness. For print, the CMYK equivalent is 43% cyan, 31% magenta, 0% yellow and 56% black.
The closest named color is Starlit Night (#3B476B), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.35:1).
#404D70 color codes
| HEX | #404D70 | |
|---|---|---|
| RGB | rgb(64, 77, 112) | |
| RGB percent | rgb(25.1%, 30.2%, 43.9%) | |
| HSL | hsl(224, 27%, 35%) | |
| HSV / HSB | hsv(224, 43%, 44%) | |
| CMYK | cmyk(43%, 31%, 0%, 56%) | |
| CIE LAB | lab(33.06, 4.79, -21.78) | |
| CIE LCH | lch(33.06, 22.3, 282.4) | |
| CIE XYZ | xyz(7.692, 7.567, 16.381) | |
| Decimal | 4214128 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404D70, 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 #404D70 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.51:1 | Fail | Fail | Fail |
| Sample text | 8.35:1 | Pass | Pass | Pass |
| #404D70 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.35:1 | Pass | Pass | Pass |
| Sample text | 2.51: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 #404D70 looks to people with the most common types of color vision deficiency.
#415071Protanopia
no red cones#3c4c6fDeuteranopia
no green cones#305459Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #404d70; }
.text { color: #404d70; }
.border { border: 2px solid #404d70; }
.transparent { background-color: rgb(64 77 112 / 50%); }
.gradient { background: linear-gradient(to right, #404d70, #4b4070); }
Similar colors
#3b476bStarlit Night#3a4866Bonne Nuit#384b6bNaval Blue#394d78Noble Knight#34466cForlorn Cruise#32496fMidnight Interlude#4c567aDeep Indigo#314a76Dragonfly
Closest common color name: Dark Slate Blue.
Questions
- What color is #404D70?
- #404D70 is a dark, desaturated blue, closest to the named color Starlit Night. It belongs to the blue family of colors.
- What is the RGB value of #404D70?
- The RGB value is 64, 77, 112: 64 red, 77 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #404D70?
- The complementary color is #706340, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404D70?
- White text. Black text has a contrast ratio of 2.51:1 and white text 8.35:1. WCAG asks for at least 4.5:1 for normal text.