#405D5B color
The hex color #405D5B is a dark, grayish cyan.
In the RGB color model it is made of 25.1% red, 36.5% green and 35.7% blue (64, 93, 91).
Its hue angle is 176°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 31% cyan, 0% magenta, 2% yellow and 64% black.
The closest named color is Rosemary (#405E5C), a difference of 0.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.16:1).
#405D5B color codes
| HEX | #405D5B | |
|---|---|---|
| RGB | rgb(64, 93, 91) | |
| RGB percent | rgb(25.1%, 36.5%, 35.7%) | |
| HSL | hsl(176, 18%, 31%) | |
| HSV / HSB | hsv(176, 31%, 36%) | |
| CMYK | cmyk(31%, 0%, 2%, 64%) | |
| CIE LAB | lab(37.25, -11.17, -2.3) | |
| CIE LCH | lch(37.25, 11.4, 191.65) | |
| CIE XYZ | xyz(7.916, 9.674, 11.346) | |
| Decimal | 4218203 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405D5B, 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 #405D5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.93:1 | Fail | Fail | Fail |
| Sample text | 7.16:1 | Pass | Pass | Pass |
| #405D5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.16:1 | Pass | Pass | Pass |
| Sample text | 2.93: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 #405D5B looks to people with the most common types of color vision deficiency.
#5a5a5bProtanopia
no red cones#54565bDeuteranopia
no green cones#365f5cTritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #405d5b; }
.text { color: #405d5b; }
.border { border: 2px solid #405d5b; }
.transparent { background-color: rgb(64 93 91 / 50%); }
.gradient { background: linear-gradient(to right, #405d5b, #40515d); }
Similar colors
#405e5cRosemary#475c5dWoodland Night#315955Enchanting Ivy#345c61Arctic Nights#3a5b52Iridescent#2e5c58Lacrosse#4a5d5fStill Waters Run Deep#2f4f4fDark Slate Gray
Questions
- What color is #405D5B?
- #405D5B is a dark, grayish cyan, closest to the named color Rosemary. It belongs to the gray family of colors.
- What is the RGB value of #405D5B?
- The RGB value is 64, 93, 91: 64 red, 93 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #405D5B?
- The complementary color is #5D4042, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405D5B?
- White text. Black text has a contrast ratio of 2.93:1 and white text 7.16:1. WCAG asks for at least 4.5:1 for normal text.