#405155 color
The hex color #405155 is a dark, grayish cyan.
In the RGB color model it is made of 25.1% red, 31.8% green and 33.3% blue (64, 81, 85).
Its hue angle is 191°, with 14% saturation and 29% lightness. For print, the CMYK equivalent is 25% cyan, 5% magenta, 0% yellow and 67% black.
The closest named color is Descent Into the Catacombs (#445155), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.31:1).
#405155 color codes
| HEX | #405155 | |
|---|---|---|
| RGB | rgb(64, 81, 85) | |
| RGB percent | rgb(25.1%, 31.8%, 33.3%) | |
| HSL | hsl(191, 14%, 29%) | |
| HSV / HSB | hsv(191, 25%, 33%) | |
| CMYK | cmyk(25%, 5%, 0%, 67%) | |
| CIE LAB | lab(33.2, -5.57, -4.53) | |
| CIE LCH | lch(33.2, 7.18, 219.14) | |
| CIE XYZ | xyz(6.696, 7.63, 9.713) | |
| Decimal | 4215125 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405155, 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 #405155 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.53:1 | Fail | Fail | Fail |
| Sample text | 8.31:1 | Pass | Pass | Pass |
| #405155 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.31:1 | Pass | Pass | Pass |
| Sample text | 2.53: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 #405155 looks to people with the most common types of color vision deficiency.
#4e5055Protanopia
no red cones#4a4d55Deuteranopia
no green cones#3a5352Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #405155; }
.text { color: #405155; }
.border { border: 2px solid #405155; }
.transparent { background-color: rgb(64 81 85 / 50%); }
.gradient { background: linear-gradient(to right, #405155, #404655); }
Similar colors
#445155Descent Into the Catacombs#445055Obsidian#455454All Nighter#3c4f4eNight Watch#495252Dark as Night#46565fGood Night!#414a4cDark Space#3b5760Great Void
Closest common color name: Charcoal.
Questions
- What color is #405155?
- #405155 is a dark, grayish cyan, closest to the named color Descent Into the Catacombs. It belongs to the gray family of colors.
- What is the RGB value of #405155?
- The RGB value is 64, 81, 85: 64 red, 81 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #405155?
- The complementary color is #554440, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405155?
- White text. Black text has a contrast ratio of 2.53:1 and white text 8.31:1. WCAG asks for at least 4.5:1 for normal text.