#3A5145 color
The hex color #3A5145 is a dark, grayish green.
In the RGB color model it is made of 22.7% red, 31.8% green and 27.1% blue (58, 81, 69).
Its hue angle is 149°, with 17% saturation and 27% lightness. For print, the CMYK equivalent is 28% cyan, 0% magenta, 15% yellow and 68% black.
The closest named color is Pine Needle (#334D41), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.6:1).
#3A5145 color codes
| HEX | #3A5145 | |
|---|---|---|
| RGB | rgb(58, 81, 69) | |
| RGB percent | rgb(22.7%, 31.8%, 27.1%) | |
| HSL | hsl(149, 17%, 27%) | |
| HSV / HSB | hsv(149, 28%, 32%) | |
| CMYK | cmyk(28%, 0%, 15%, 68%) | |
| CIE LAB | lab(32.29, -11.73, 4.23) | |
| CIE LCH | lch(32.29, 12.47, 160.19) | |
| CIE XYZ | xyz(5.761, 7.214, 6.718) | |
| Decimal | 3821893 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A5145, 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 #3A5145 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.44:1 | Fail | Fail | Fail |
| Sample text | 8.6:1 | Pass | Pass | Pass |
| #3A5145 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.6:1 | Pass | Pass | Pass |
| Sample text | 2.44: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 #3A5145 looks to people with the most common types of color vision deficiency.
#504e44Protanopia
no red cones#4c4b46Deuteranopia
no green cones#35514dTritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #3a5145; }
.text { color: #3a5145; }
.border { border: 2px solid #3a5145; }
.transparent { background-color: rgb(58 81 69 / 50%); }
.gradient { background: linear-gradient(to right, #3a5145, #3a5150); }
Similar colors
#334d41Pine Needle#3e594cPlantation#394c3bMountain View#33534bHunter#3a533dHighlander#3a5b52Iridescent#3e5e4eEthereal Woods#424f3bHōjicha
Closest common color name: Dark Slate Gray.
Questions
- What color is #3A5145?
- #3A5145 is a dark, grayish green, closest to the named color Pine Needle. It belongs to the gray family of colors.
- What is the RGB value of #3A5145?
- The RGB value is 58, 81, 69: 58 red, 81 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #3A5145?
- The complementary color is #513A46, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A5145?
- White text. Black text has a contrast ratio of 2.44:1 and white text 8.6:1. WCAG asks for at least 4.5:1 for normal text.