#31403E color
The hex color #31403E is a dark, grayish spring green.
In the RGB color model it is made of 19.2% red, 25.1% green and 24.3% blue (49, 64, 62).
Its hue angle is 172°, with 13% saturation and 22% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 3% yellow and 75% black.
The closest named color is Aztec (#293432), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.86:1).
#31403E color codes
| HEX | #31403E | |
|---|---|---|
| RGB | rgb(49, 64, 62) | |
| RGB percent | rgb(19.2%, 25.1%, 24.3%) | |
| HSL | hsl(172, 13%, 22%) | |
| HSV / HSB | hsv(172, 23%, 25%) | |
| CMYK | cmyk(23%, 0%, 3%, 75%) | |
| CIE LAB | lab(25.77, -6.55, -0.78) | |
| CIE LCH | lch(25.77, 6.6, 186.76) | |
| CIE XYZ | xyz(3.969, 4.667, 5.248) | |
| Decimal | 3227710 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31403E, 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 #31403E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.93:1 | Fail | Fail | Fail |
| Sample text | 10.86:1 | Pass | Pass | Pass |
| #31403E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.86:1 | Pass | Pass | Pass |
| Sample text | 1.93: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 #31403E looks to people with the most common types of color vision deficiency.
#3e3e3eProtanopia
no red cones#3b3c3eDeuteranopia
no green cones#2d413fTritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #31403e; }
.text { color: #31403e; }
.border { border: 2px solid #31403e; }
.transparent { background-color: rgb(49 64 62 / 50%); }
.gradient { background: linear-gradient(to right, #31403e, #313a40); }
Similar colors
#293432Aztec#3c463eDeep Forest#2d454aLittle Mermaid#424c4aUrban Chic#3c4f4eNight Watch#27454aMysterious Waters#353935Onyx#2b322dTerminal Black
Questions
- What color is #31403E?
- #31403E 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 #31403E?
- The RGB value is 49, 64, 62: 49 red, 64 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #31403E?
- The complementary color is #403133, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31403E?
- White text. Black text has a contrast ratio of 1.93:1 and white text 10.86:1. WCAG asks for at least 4.5:1 for normal text.