#40466E color
The hex color #40466E is a dark, desaturated blue.
In the RGB color model it is made of 25.1% red, 27.5% green and 43.1% blue (64, 70, 110).
Its hue angle is 232°, with 26% saturation and 34% lightness. For print, the CMYK equivalent is 42% cyan, 36% magenta, 0% yellow and 57% black.
The closest named color is Starlit Night (#3B476B), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.05:1).
#40466E color codes
| HEX | #40466E | |
|---|---|---|
| RGB | rgb(64, 70, 110) | |
| RGB percent | rgb(25.1%, 27.5%, 43.1%) | |
| HSL | hsl(232, 26%, 34%) | |
| HSV / HSB | hsv(232, 42%, 43%) | |
| CMYK | cmyk(42%, 36%, 0%, 57%) | |
| CIE LAB | lab(30.87, 8.74, -23.95) | |
| CIE LCH | lch(30.87, 25.49, 290.04) | |
| CIE XYZ | xyz(7.118, 6.596, 15.647) | |
| Decimal | 4212334 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40466E, 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 #40466E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.05:1 | Pass | Pass | Pass |
| #40466E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.05:1 | Pass | Pass | Pass |
| Sample text | 2.32: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 #40466E looks to people with the most common types of color vision deficiency.
#394b70Protanopia
no red cones#35476dDeuteranopia
no green cones#324e55Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #40466e; }
.text { color: #40466e; }
.border { border: 2px solid #40466e; }
.transparent { background-color: rgb(64 70 110 / 50%); }
.gradient { background: linear-gradient(to right, #40466e, #51406e); }
Similar colors
#3b476bStarlit Night#3e4364Genie#3d3d63Storm Is Coming#34466cForlorn Cruise#324471Space Missions#3a4866Bonne Nuit#50507fTangent Periwinkle#394d78Noble Knight
Closest common color name: Dark Slate Blue.
Questions
- What color is #40466E?
- #40466E 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 #40466E?
- The RGB value is 64, 70, 110: 64 red, 70 green and 110 blue on a 0 to 255 scale.
- What is the complementary color of #40466E?
- The complementary color is #6E6840, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40466E?
- White text. Black text has a contrast ratio of 2.32:1 and white text 9.05:1. WCAG asks for at least 4.5:1 for normal text.