#1E281F color
The hex color #1E281F is a very dark, grayish green.
In the RGB color model it is made of 11.8% red, 15.7% green and 12.2% blue (30, 40, 31).
Its hue angle is 126°, with 14% saturation and 14% lightness. For print, the CMYK equivalent is 25% cyan, 0% magenta, 22% yellow and 84% black.
The closest named color is Underworld (#1E231C), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.23:1).
#1E281F color codes
| HEX | #1E281F | |
|---|---|---|
| RGB | rgb(30, 40, 31) | |
| RGB percent | rgb(11.8%, 15.7%, 12.2%) | |
| HSL | hsl(126, 14%, 14%) | |
| HSV / HSB | hsv(126, 25%, 16%) | |
| CMYK | cmyk(25%, 0%, 22%, 84%) | |
| CIE LAB | lab(14.91, -6.68, 4.51) | |
| CIE LCH | lch(14.91, 8.06, 145.96) | |
| CIE XYZ | xyz(1.541, 1.892, 1.58) | |
| Decimal | 1976351 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1E281F, 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 #1E281F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.23:1 | Pass | Pass | Pass |
| #1E281F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.23:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #1E281F looks to people with the most common types of color vision deficiency.
#28261fProtanopia
no red cones#27251fDeuteranopia
no green cones#1d2825Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #1e281f; }
.text { color: #1e281f; }
.border { border: 2px solid #1e281f; }
.transparent { background-color: rgb(30 40 31 / 50%); }
.gradient { background: linear-gradient(to right, #1e281f, #1e2824); }
Similar colors
#1e231cUnderworld#162825Swamp Thing#2b322dTerminal Black#2b2e26Marshland#112211Nightmare#262926Bitter Liquorice#293432Aztec#17240bMidnight Pines
Closest common color name: Onyx.
Questions
- What color is #1E281F?
- #1E281F is a very dark, grayish green, closest to the named color Underworld. It belongs to the black family of colors.
- What is the RGB value of #1E281F?
- The RGB value is 30, 40, 31: 30 red, 40 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #1E281F?
- The complementary color is #281E27, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1E281F?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.23:1. WCAG asks for at least 4.5:1 for normal text.