#405156 color
The hex color #405156 is a dark, grayish cyan.
In the RGB color model it is made of 25.1% red, 31.8% green and 33.7% blue (64, 81, 86).
Its hue angle is 194°, with 15% saturation and 29% lightness. For print, the CMYK equivalent is 26% cyan, 6% magenta, 0% yellow and 66% black.
The closest named color is Descent Into the Catacombs (#445155), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.3:1).
#405156 color codes
| HEX | #405156 | |
|---|---|---|
| RGB | rgb(64, 81, 86) | |
| RGB percent | rgb(25.1%, 31.8%, 33.7%) | |
| HSL | hsl(194, 15%, 29%) | |
| HSV / HSB | hsv(194, 26%, 34%) | |
| CMYK | cmyk(26%, 6%, 0%, 66%) | |
| CIE LAB | lab(33.24, -5.31, -5.12) | |
| CIE LCH | lch(33.24, 7.37, 223.94) | |
| CIE XYZ | xyz(6.736, 7.646, 9.923) | |
| Decimal | 4215126 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405156, 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 #405156 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.53:1 | Fail | Fail | Fail |
| Sample text | 8.3:1 | Pass | Pass | Pass |
| #405156 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.3: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 #405156 looks to people with the most common types of color vision deficiency.
#4e5056Protanopia
no red cones#4a4d56Deuteranopia
no green cones#395352Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #405156; }
.text { color: #405156; }
.border { border: 2px solid #405156; }
.transparent { background-color: rgb(64 81 86 / 50%); }
.gradient { background: linear-gradient(to right, #405156, #404656); }
Similar colors
#445155Descent Into the Catacombs#445055Obsidian#455454All Nighter#46565fGood Night!#344d58Nocturne#3b5760Great Void#43535eNightfall#414a4cDark Space
Closest common color name: Charcoal.
Questions
- What color is #405156?
- #405156 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 #405156?
- The RGB value is 64, 81, 86: 64 red, 81 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #405156?
- The complementary color is #564540, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405156?
- White text. Black text has a contrast ratio of 2.53:1 and white text 8.3:1. WCAG asks for at least 4.5:1 for normal text.