#2D4845 color
The hex color #2D4845 is a dark, grayish spring green.
In the RGB color model it is made of 17.6% red, 28.2% green and 27.1% blue (45, 72, 69).
Its hue angle is 173°, with 23% saturation and 23% lightness. For print, the CMYK equivalent is 37% cyan, 0% magenta, 4% yellow and 72% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.88:1).
#2D4845 color codes
| HEX | #2D4845 | |
|---|---|---|
| RGB | rgb(45, 72, 69) | |
| RGB percent | rgb(17.6%, 28.2%, 27.1%) | |
| HSL | hsl(173, 23%, 23%) | |
| HSV / HSB | hsv(173, 37%, 28%) | |
| CMYK | cmyk(37%, 0%, 4%, 72%) | |
| CIE LAB | lab(28.44, -11.02, -1.46) | |
| CIE LCH | lch(28.44, 11.12, 187.56) | |
| CIE XYZ | xyz(4.473, 5.622, 6.479) | |
| Decimal | 2967621 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D4845, 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 #2D4845 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.12:1 | Fail | Fail | Fail |
| Sample text | 9.88:1 | Pass | Pass | Pass |
| #2D4845 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.88:1 | Pass | Pass | Pass |
| Sample text | 2.12: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 #2D4845 looks to people with the most common types of color vision deficiency.
#454545Protanopia
no red cones#404245Deuteranopia
no green cones#244947Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #2d4845; }
.text { color: #2d4845; }
.border { border: 2px solid #2d4845; }
.transparent { background-color: rgb(45 72 69 / 50%); }
.gradient { background: linear-gradient(to right, #2d4845, #2d3d48); }
Similar colors
#2f4f4fDark Slate Gray#224347Emerald Forest#3c4f4eNight Watch#33534bHunter#27454aMysterious Waters#334d41Pine Needle#2d454aLittle Mermaid#12403cBotanical Night
Questions
- What color is #2D4845?
- #2D4845 is a dark, grayish spring green, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #2D4845?
- The RGB value is 45, 72, 69: 45 red, 72 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #2D4845?
- The complementary color is #482D30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D4845?
- White text. Black text has a contrast ratio of 2.12:1 and white text 9.88:1. WCAG asks for at least 4.5:1 for normal text.