#405351 color
The hex color #405351 is a dark, grayish spring green.
In the RGB color model it is made of 25.1% red, 32.5% green and 31.8% blue (64, 83, 81).
Its hue angle is 174°, with 13% saturation and 29% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 2% yellow and 67% black.
The closest named color is Night Watch (#3C4F4E), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.16:1).
#405351 color codes
| HEX | #405351 | |
|---|---|---|
| RGB | rgb(64, 83, 81) | |
| RGB percent | rgb(25.1%, 32.5%, 31.8%) | |
| HSL | hsl(174, 13%, 29%) | |
| HSV / HSB | hsv(174, 23%, 33%) | |
| CMYK | cmyk(23%, 0%, 2%, 67%) | |
| CIE LAB | lab(33.71, -7.81, -1.25) | |
| CIE LCH | lch(33.71, 7.91, 189.09) | |
| CIE XYZ | xyz(6.692, 7.87, 8.949) | |
| Decimal | 4215633 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405351, 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 #405351 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.57:1 | Fail | Fail | Fail |
| Sample text | 8.16:1 | Pass | Pass | Pass |
| #405351 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.16:1 | Pass | Pass | Pass |
| Sample text | 2.57: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 #405351 looks to people with the most common types of color vision deficiency.
#515151Protanopia
no red cones#4d4e51Deuteranopia
no green cones#3b5452Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #405351; }
.text { color: #405351; }
.border { border: 2px solid #405351; }
.transparent { background-color: rgb(64 83 81 / 50%); }
.gradient { background: linear-gradient(to right, #405351, #404b53); }
Similar colors
#3c4f4eNight Watch#455454All Nighter#475c5dWoodland Night#424c4aUrban Chic#4a5d5fStill Waters Run Deep#2f4f4fDark Slate Gray#495252Dark as Night#405e5cRosemary
Questions
- What color is #405351?
- #405351 is a dark, grayish spring green, closest to the named color Night Watch. It belongs to the gray family of colors.
- What is the RGB value of #405351?
- The RGB value is 64, 83, 81: 64 red, 83 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #405351?
- The complementary color is #534042, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405351?
- White text. Black text has a contrast ratio of 2.57:1 and white text 8.16:1. WCAG asks for at least 4.5:1 for normal text.