#404C80 color
The hex color #404C80 is a dark, desaturated blue.
In the RGB color model it is made of 25.1% red, 29.8% green and 50.2% blue (64, 76, 128).
Its hue angle is 229°, with 33% saturation and 38% lightness. For print, the CMYK equivalent is 50% cyan, 41% magenta, 0% yellow and 50% black.
The closest named color is Noble Knight (#394D78), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.19:1).
#404C80 color codes
| HEX | #404C80 | |
|---|---|---|
| RGB | rgb(64, 76, 128) | |
| RGB percent | rgb(25.1%, 29.8%, 50.2%) | |
| HSL | hsl(229, 33%, 38%) | |
| HSV / HSB | hsv(229, 50%, 50%) | |
| CMYK | cmyk(50%, 41%, 0%, 50%) | |
| CIE LAB | lab(33.6, 10.63, -30.9) | |
| CIE LCH | lch(33.6, 32.68, 288.98) | |
| CIE XYZ | xyz(8.594, 7.817, 21.474) | |
| Decimal | 4213888 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404C80, 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 #404C80 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.19:1 | Pass | Pass | Pass |
| #404C80 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.19:1 | Pass | Pass | Pass |
| Sample text | 2.56: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 #404C80 looks to people with the most common types of color vision deficiency.
#385282Protanopia
no red cones#324c7fDeuteranopia
no green cones#275760Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #404c80; }
.text { color: #404c80; }
.border { border: 2px solid #404c80; }
.transparent { background-color: rgb(64 76 128 / 50%); }
.gradient { background: linear-gradient(to right, #404c80, #544080); }
Similar colors
#394d78Noble Knight#3d4585Queen of the Night Shift#4e518bTwilight#324471Space Missions#4e5481Dusk#314a76Dragonfly#2e4a7dNautical#39527dSt. Tropaz
Closest common color name: Dark Slate Blue.
Questions
- What color is #404C80?
- #404C80 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 #404C80?
- The RGB value is 64, 76, 128: 64 red, 76 green and 128 blue on a 0 to 255 scale.
- What is the complementary color of #404C80?
- The complementary color is #807440, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404C80?
- White text. Black text has a contrast ratio of 2.56:1 and white text 8.19:1. WCAG asks for at least 4.5:1 for normal text.