#405960 color
The hex color #405960 is a dark, grayish cyan.
In the RGB color model it is made of 25.1% red, 34.9% green and 37.6% blue (64, 89, 96).
Its hue angle is 193°, with 20% saturation and 31% lightness. For print, the CMYK equivalent is 33% cyan, 7% magenta, 0% yellow and 62% black.
The closest named color is Great Void (#3B5760), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.46:1).
#405960 color codes
| HEX | #405960 | |
|---|---|---|
| RGB | rgb(64, 89, 96) | |
| RGB percent | rgb(25.1%, 34.9%, 37.6%) | |
| HSL | hsl(193, 20%, 31%) | |
| HSV / HSB | hsv(193, 33%, 38%) | |
| CMYK | cmyk(33%, 7%, 0%, 62%) | |
| CIE LAB | lab(36.14, -7.47, -7.07) | |
| CIE LCH | lch(36.14, 10.28, 223.43) | |
| CIE XYZ | xyz(7.797, 9.079, 12.406) | |
| Decimal | 4217184 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405960, 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 #405960 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.46:1 | Pass | Pass | Pass |
| #405960 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.46:1 | Pass | Pass | Pass |
| Sample text | 2.82: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 #405960 looks to people with the most common types of color vision deficiency.
#545760Protanopia
no red cones#4f5360Deuteranopia
no green cones#355c5bTritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #405960; }
.text { color: #405960; }
.border { border: 2px solid #405960; }
.transparent { background-color: rgb(64 89 96 / 50%); }
.gradient { background: linear-gradient(to right, #405960, #404960); }
Similar colors
#3b5760Great Void#395d68Under the Sea#4a5d5fStill Waters Run Deep#3f5865Stargazer#475c5dWoodland Night#37525fMoonlit Sonata#46565fGood Night!#4b5a62Fiord
Closest common color name: Dark Slate Gray.
Questions
- What color is #405960?
- #405960 is a dark, grayish cyan, closest to the named color Great Void. It belongs to the gray family of colors.
- What is the RGB value of #405960?
- The RGB value is 64, 89, 96: 64 red, 89 green and 96 blue on a 0 to 255 scale.
- What is the complementary color of #405960?
- The complementary color is #604740, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405960?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.46:1. WCAG asks for at least 4.5:1 for normal text.