#2A4340 color
The hex color #2A4340 is a dark, grayish spring green.
In the RGB color model it is made of 16.5% red, 26.3% green and 25.1% blue (42, 67, 64).
Its hue angle is 173°, with 23% saturation and 21% lightness. For print, the CMYK equivalent is 37% cyan, 0% magenta, 4% yellow and 74% black.
The closest named color is Emerald Forest (#224347), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.63:1).
#2A4340 color codes
| HEX | #2A4340 | |
|---|---|---|
| RGB | rgb(42, 67, 64) | |
| RGB percent | rgb(16.5%, 26.3%, 25.1%) | |
| HSL | hsl(173, 23%, 21%) | |
| HSV / HSB | hsv(173, 37%, 26%) | |
| CMYK | cmyk(37%, 0%, 4%, 74%) | |
| CIE LAB | lab(26.38, -10.41, -1.25) | |
| CIE LCH | lch(26.38, 10.48, 186.83) | |
| CIE XYZ | xyz(3.887, 4.876, 5.586) | |
| Decimal | 2769728 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A4340, 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 #2A4340 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.98:1 | Fail | Fail | Fail |
| Sample text | 10.63:1 | Pass | Pass | Pass |
| #2A4340 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.63:1 | Pass | Pass | Pass |
| Sample text | 1.98: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 #2A4340 looks to people with the most common types of color vision deficiency.
#414040Protanopia
no red cones#3c3d40Deuteranopia
no green cones#214442Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #2a4340; }
.text { color: #2a4340; }
.border { border: 2px solid #2a4340; }
.transparent { background-color: rgb(42 67 64 / 50%); }
.gradient { background: linear-gradient(to right, #2a4340, #2a3a43); }
Similar colors
#224347Emerald Forest#2f4f4fDark Slate Gray#27454aMysterious Waters#2d454aLittle Mermaid#12403cBotanical Night#3c4f4eNight Watch#334d41Pine Needle#1c3d44Sunken Harbour
Questions
- What color is #2A4340?
- #2A4340 is a dark, grayish spring green, closest to the named color Emerald Forest. It belongs to the gray family of colors.
- What is the RGB value of #2A4340?
- The RGB value is 42, 67, 64: 42 red, 67 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #2A4340?
- The complementary color is #432A2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A4340?
- White text. Black text has a contrast ratio of 1.98:1 and white text 10.63:1. WCAG asks for at least 4.5:1 for normal text.