#40445B color
The hex color #40445B is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 26.7% green and 35.7% blue (64, 68, 91).
Its hue angle is 231°, with 17% saturation and 30% lightness. For print, the CMYK equivalent is 30% cyan, 25% magenta, 0% yellow and 64% black.
The closest named color is Lava Stone (#3C4151), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.56:1).
#40445B color codes
| HEX | #40445B | |
|---|---|---|
| RGB | rgb(64, 68, 91) | |
| RGB percent | rgb(25.1%, 26.7%, 35.7%) | |
| HSL | hsl(231, 17%, 30%) | |
| HSV / HSB | hsv(231, 30%, 36%) | |
| CMYK | cmyk(30%, 25%, 0%, 64%) | |
| CIE LAB | lab(29.36, 4.33, -14.17) | |
| CIE LCH | lch(29.36, 14.82, 286.99) | |
| CIE XYZ | xyz(6.069, 5.979, 10.73) | |
| Decimal | 4211803 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40445B, 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 #40445B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.56:1 | Pass | Pass | Pass |
| #40445B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.56:1 | Pass | Pass | Pass |
| Sample text | 2.2: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 #40445B looks to people with the most common types of color vision deficiency.
#3d465cProtanopia
no red cones#3c445aDeuteranopia
no green cones#39484cTritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #40445b; }
.text { color: #40445b; }
.border { border: 2px solid #40445b; }
.transparent { background-color: rgb(64 68 91 / 50%); }
.gradient { background: linear-gradient(to right, #40445b, #49405b); }
Similar colors
#3c4151Lava Stone#3e4364Genie#3f4250Madonna#3a4866Bonne Nuit#4d516cIntergalactic#353f51Dark & Stormy#3b476bStarlit Night#484753Gun Powder
Closest common color name: Charcoal.
Questions
- What color is #40445B?
- #40445B is a dark, grayish blue, closest to the named color Lava Stone. It belongs to the blue family of colors.
- What is the RGB value of #40445B?
- The RGB value is 64, 68, 91: 64 red, 68 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #40445B?
- The complementary color is #5B5740, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40445B?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.56:1. WCAG asks for at least 4.5:1 for normal text.