#40445A color
The hex color #40445A is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 26.7% green and 35.3% blue (64, 68, 90).
Its hue angle is 231°, with 17% saturation and 30% lightness. For print, the CMYK equivalent is 29% cyan, 24% magenta, 0% yellow and 65% black.
The closest named color is Lava Stone (#3C4151), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.58:1).
#40445A color codes
| HEX | #40445A | |
|---|---|---|
| RGB | rgb(64, 68, 90) | |
| RGB percent | rgb(25.1%, 26.7%, 35.3%) | |
| HSL | hsl(231, 17%, 30%) | |
| HSV / HSB | hsv(231, 29%, 35%) | |
| CMYK | cmyk(29%, 24%, 0%, 65%) | |
| CIE LAB | lab(29.32, 4.05, -13.59) | |
| CIE LCH | lch(29.32, 14.18, 286.57) | |
| CIE XYZ | xyz(6.026, 5.962, 10.504) | |
| Decimal | 4211802 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40445A, 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 #40445A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.19:1 | Fail | Fail | Fail |
| Sample text | 9.58:1 | Pass | Pass | Pass |
| #40445A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.58:1 | Pass | Pass | Pass |
| Sample text | 2.19: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 #40445A looks to people with the most common types of color vision deficiency.
#3e465bProtanopia
no red cones#3c4459Deuteranopia
no green cones#3a484bTritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #40445a; }
.text { color: #40445a; }
.border { border: 2px solid #40445a; }
.transparent { background-color: rgb(64 68 90 / 50%); }
.gradient { background: linear-gradient(to right, #40445a, #49405a); }
Similar colors
#3c4151Lava Stone#3f4250Madonna#3e4364Genie#3a4866Bonne Nuit#353f51Dark & Stormy#484753Gun Powder#4d516cIntergalactic#41434eMidnight Serenade
Closest common color name: Charcoal.
Questions
- What color is #40445A?
- #40445A 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 #40445A?
- The RGB value is 64, 68, 90: 64 red, 68 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #40445A?
- The complementary color is #5A5640, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40445A?
- White text. Black text has a contrast ratio of 2.19:1 and white text 9.58:1. WCAG asks for at least 4.5:1 for normal text.