#40455C color
The hex color #40455C is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 27.1% green and 36.1% blue (64, 69, 92).
Its hue angle is 229°, with 18% saturation and 31% 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.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.44:1).
#40455C color codes
| HEX | #40455C | |
|---|---|---|
| RGB | rgb(64, 69, 92) | |
| RGB percent | rgb(25.1%, 27.1%, 36.1%) | |
| HSL | hsl(229, 18%, 31%) | |
| HSV / HSB | hsv(229, 30%, 36%) | |
| CMYK | cmyk(30%, 25%, 0%, 64%) | |
| CIE LAB | lab(29.71, 3.96, -14.28) | |
| CIE LCH | lch(29.71, 14.82, 285.51) | |
| CIE XYZ | xyz(6.174, 6.119, 10.979) | |
| Decimal | 4212060 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40455C, 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 #40455C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.44:1 | Pass | Pass | Pass |
| #40455C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.44:1 | Pass | Pass | Pass |
| Sample text | 2.22: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 #40455C looks to people with the most common types of color vision deficiency.
#3e475dProtanopia
no red cones#3c455bDeuteranopia
no green cones#39494dTritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #40455c; }
.text { color: #40455c; }
.border { border: 2px solid #40455c; }
.transparent { background-color: rgb(64 69 92 / 50%); }
.gradient { background: linear-gradient(to right, #40455c, #49405c); }
Similar colors
#3c4151Lava Stone#3e4364Genie#3a4866Bonne Nuit#3f4250Madonna#4d516cIntergalactic#353f51Dark & Stormy#3a4a63Silent Sea#3b476bStarlit Night
Closest common color name: Charcoal.
Questions
- What color is #40455C?
- #40455C 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 #40455C?
- The RGB value is 64, 69, 92: 64 red, 69 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #40455C?
- The complementary color is #5C5740, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40455C?
- White text. Black text has a contrast ratio of 2.22:1 and white text 9.44:1. WCAG asks for at least 4.5:1 for normal text.