#40595B color
The hex color #40595B is a dark, grayish cyan.
In the RGB color model it is made of 25.1% red, 34.9% green and 35.7% blue (64, 89, 91).
Its hue angle is 184°, with 17% saturation and 30% lightness. For print, the CMYK equivalent is 30% cyan, 2% magenta, 0% yellow and 64% black.
The closest named color is Woodland Night (#475C5D), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.51:1).
#40595B color codes
| HEX | #40595B | |
|---|---|---|
| RGB | rgb(64, 89, 91) | |
| RGB percent | rgb(25.1%, 34.9%, 35.7%) | |
| HSL | hsl(184, 17%, 30%) | |
| HSV / HSB | hsv(184, 30%, 36%) | |
| CMYK | cmyk(30%, 2%, 0%, 64%) | |
| CIE LAB | lab(35.96, -8.82, -4.2) | |
| CIE LCH | lch(35.96, 9.77, 205.48) | |
| CIE XYZ | xyz(7.574, 8.99, 11.232) | |
| Decimal | 4217179 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40595B, 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 #40595B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.8:1 | Fail | Fail | Fail |
| Sample text | 7.51:1 | Pass | Pass | Pass |
| #40595B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.51:1 | Pass | Pass | Pass |
| Sample text | 2.8: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 #40595B looks to people with the most common types of color vision deficiency.
#55575bProtanopia
no red cones#50535bDeuteranopia
no green cones#375b5aTritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #40595b; }
.text { color: #40595b; }
.border { border: 2px solid #40595b; }
.transparent { background-color: rgb(64 89 91 / 50%); }
.gradient { background: linear-gradient(to right, #40595b, #404b5b); }
Similar colors
#475c5dWoodland Night#4a5d5fStill Waters Run Deep#405e5cRosemary#455454All Nighter#345c61Arctic Nights#3b5760Great Void#3c4f4eNight Watch#395d68Under the Sea
Closest common color name: Dark Slate Gray.
Questions
- What color is #40595B?
- #40595B is a dark, grayish cyan, closest to the named color Woodland Night. It belongs to the gray family of colors.
- What is the RGB value of #40595B?
- The RGB value is 64, 89, 91: 64 red, 89 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #40595B?
- The complementary color is #5B4240, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40595B?
- White text. Black text has a contrast ratio of 2.8:1 and white text 7.51:1. WCAG asks for at least 4.5:1 for normal text.