#2E4540 color
The hex color #2E4540 is a dark, grayish spring green.
In the RGB color model it is made of 18% red, 27.1% green and 25.1% blue (46, 69, 64).
Its hue angle is 167°, with 20% saturation and 23% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 7% yellow and 73% black.
The closest named color is Pine Needle (#334D41), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.29:1).
#2E4540 color codes
| HEX | #2E4540 | |
|---|---|---|
| RGB | rgb(46, 69, 64) | |
| RGB percent | rgb(18%, 27.1%, 25.1%) | |
| HSL | hsl(167, 20%, 23%) | |
| HSV / HSB | hsv(167, 33%, 27%) | |
| CMYK | cmyk(33%, 0%, 7%, 73%) | |
| CIE LAB | lab(27.32, -10.22, 0.16) | |
| CIE LCH | lch(27.32, 10.22, 179.13) | |
| CIE XYZ | xyz(4.18, 5.207, 5.634) | |
| Decimal | 3032384 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E4540, 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 #2E4540 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.29:1 | Pass | Pass | Pass |
| #2E4540 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.29:1 | Pass | Pass | Pass |
| Sample text | 2.04: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 #2E4540 looks to people with the most common types of color vision deficiency.
#434240Protanopia
no red cones#3f3f40Deuteranopia
no green cones#274643Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #2e4540; }
.text { color: #2e4540; }
.border { border: 2px solid #2e4540; }
.transparent { background-color: rgb(46 69 64 / 50%); }
.gradient { background: linear-gradient(to right, #2e4540, #2e3e45); }
Similar colors
#334d41Pine Needle#2f4f4fDark Slate Gray#3c4f4eNight Watch#33534bHunter#224347Emerald Forest#3c463eDeep Forest#264334Everglade#27454aMysterious Waters
Questions
- What color is #2E4540?
- #2E4540 is a dark, grayish spring green, closest to the named color Pine Needle. It belongs to the gray family of colors.
- What is the RGB value of #2E4540?
- The RGB value is 46, 69, 64: 46 red, 69 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #2E4540?
- The complementary color is #452E33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E4540?
- White text. Black text has a contrast ratio of 2.04:1 and white text 10.29:1. WCAG asks for at least 4.5:1 for normal text.