#404776 color
The hex color #404776 is a dark, desaturated blue.
In the RGB color model it is made of 25.1% red, 27.8% green and 46.3% blue (64, 71, 118).
Its hue angle is 232°, with 30% saturation and 36% lightness. For print, the CMYK equivalent is 46% cyan, 40% magenta, 0% yellow and 54% black.
The closest named color is Starlit Night (#3B476B), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.82:1).
#404776 color codes
| HEX | #404776 | |
|---|---|---|
| RGB | rgb(64, 71, 118) | |
| RGB percent | rgb(25.1%, 27.8%, 46.3%) | |
| HSL | hsl(232, 30%, 36%) | |
| HSV / HSB | hsv(232, 46%, 46%) | |
| CMYK | cmyk(46%, 40%, 0%, 54%) | |
| CIE LAB | lab(31.59, 10.63, -27.85) | |
| CIE LCH | lch(31.59, 29.81, 290.9) | |
| CIE XYZ | xyz(7.637, 6.904, 18.066) | |
| Decimal | 4212598 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404776, 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 #404776 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.38:1 | Fail | Fail | Fail |
| Sample text | 8.82:1 | Pass | Pass | Pass |
| #404776 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.82:1 | Pass | Pass | Pass |
| Sample text | 2.38: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 #404776 looks to people with the most common types of color vision deficiency.
#364d78Protanopia
no red cones#324875Deuteranopia
no green cones#2e5159Tritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #404776; }
.text { color: #404776; }
.border { border: 2px solid #404776; }
.transparent { background-color: rgb(64 71 118 / 50%); }
.gradient { background: linear-gradient(to right, #404776, #544076); }
Similar colors
#3b476bStarlit Night#324471Space Missions#3d4585Queen of the Night Shift#34466cForlorn Cruise#394d78Noble Knight#50507fTangent Periwinkle#333c76Good Karma#363e7dEvening Magic
Closest common color name: Dark Slate Blue.
Questions
- What color is #404776?
- #404776 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 #404776?
- The RGB value is 64, 71, 118: 64 red, 71 green and 118 blue on a 0 to 255 scale.
- What is the complementary color of #404776?
- The complementary color is #766F40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404776?
- White text. Black text has a contrast ratio of 2.38:1 and white text 8.82:1. WCAG asks for at least 4.5:1 for normal text.