#40435F color
The hex color #40435F is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 26.3% green and 37.3% blue (64, 67, 95).
Its hue angle is 234°, with 19% saturation and 31% lightness. For print, the CMYK equivalent is 33% cyan, 29% magenta, 0% yellow and 63% black.
The closest named color is Genie (#3E4364), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.61:1).
#40435F color codes
| HEX | #40435F | |
|---|---|---|
| RGB | rgb(64, 67, 95) | |
| RGB percent | rgb(25.1%, 26.3%, 37.3%) | |
| HSL | hsl(234, 19%, 31%) | |
| HSV / HSB | hsv(234, 33%, 37%) | |
| CMYK | cmyk(33%, 29%, 0%, 63%) | |
| CIE LAB | lab(29.24, 6.14, -16.94) | |
| CIE LCH | lch(29.24, 18.02, 289.94) | |
| CIE XYZ | xyz(6.187, 5.93, 11.643) | |
| Decimal | 4211551 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40435F, 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 #40435F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.19:1 | Fail | Fail | Fail |
| Sample text | 9.61:1 | Pass | Pass | Pass |
| #40435F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.61: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 #40435F looks to people with the most common types of color vision deficiency.
#3b4660Protanopia
no red cones#39445eDeuteranopia
no green cones#38484dTritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #40435f; }
.text { color: #40435f; }
.border { border: 2px solid #40435f; }
.transparent { background-color: rgb(64 67 95 / 50%); }
.gradient { background: linear-gradient(to right, #40435f, #4d405f); }
Similar colors
#3e4364Genie#3d3d63Storm Is Coming#3b476bStarlit Night#3a4866Bonne Nuit#2e3858Mediaeval Blue#4d516cIntergalactic#3c4151Lava Stone#34466cForlorn Cruise
Closest common color name: Charcoal.
Questions
- What color is #40435F?
- #40435F is a dark, grayish blue, closest to the named color Genie. It belongs to the blue family of colors.
- What is the RGB value of #40435F?
- The RGB value is 64, 67, 95: 64 red, 67 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #40435F?
- The complementary color is #5F5C40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40435F?
- White text. Black text has a contrast ratio of 2.19:1 and white text 9.61:1. WCAG asks for at least 4.5:1 for normal text.