#313E3A color
The hex color #313E3A is a dark, grayish spring green.
In the RGB color model it is made of 19.2% red, 24.3% green and 22.7% blue (49, 62, 58).
Its hue angle is 162°, with 12% saturation and 22% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 6% yellow and 76% black.
The closest named color is Aztec (#293432), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.17:1).
#313E3A color codes
| HEX | #313E3A | |
|---|---|---|
| RGB | rgb(49, 62, 58) | |
| RGB percent | rgb(19.2%, 24.3%, 22.7%) | |
| HSL | hsl(162, 12%, 22%) | |
| HSV / HSB | hsv(162, 21%, 24%) | |
| CMYK | cmyk(21%, 0%, 6%, 76%) | |
| CIE LAB | lab(24.96, -6.31, 0.7) | |
| CIE LCH | lch(24.96, 6.35, 173.7) | |
| CIE XYZ | xyz(3.753, 4.404, 4.654) | |
| Decimal | 3227194 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313E3A, 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 #313E3A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.88:1 | Fail | Fail | Fail |
| Sample text | 11.17:1 | Pass | Pass | Pass |
| #313E3A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.17:1 | Pass | Pass | Pass |
| Sample text | 1.88: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 #313E3A looks to people with the most common types of color vision deficiency.
#3d3c3aProtanopia
no red cones#3b3a3aDeuteranopia
no green cones#2e3e3dTritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #313e3a; }
.text { color: #313e3a; }
.border { border: 2px solid #313e3a; }
.transparent { background-color: rgb(49 62 58 / 50%); }
.gradient { background: linear-gradient(to right, #313e3a, #313c3e); }
Similar colors
#293432Aztec#3c463eDeep Forest#2b322dTerminal Black#353935Onyx#424c4aUrban Chic#444b43Ancient Pine#2f3434Phantom Ship#3c4f4eNight Watch
Questions
- What color is #313E3A?
- #313E3A is a dark, grayish spring green, closest to the named color Aztec. It belongs to the gray family of colors.
- What is the RGB value of #313E3A?
- The RGB value is 49, 62, 58: 49 red, 62 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #313E3A?
- The complementary color is #3E3135, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313E3A?
- White text. Black text has a contrast ratio of 1.88:1 and white text 11.17:1. WCAG asks for at least 4.5:1 for normal text.