#1A2F2B color
The hex color #1A2F2B is a very dark, desaturated spring green.
In the RGB color model it is made of 10.2% red, 18.4% green and 16.9% blue (26, 47, 43).
Its hue angle is 169°, with 29% saturation and 14% lightness. For print, the CMYK equivalent is 45% cyan, 0% magenta, 9% yellow and 82% black.
The closest named color is Swamp Thing (#162825), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.14:1).
#1A2F2B color codes
| HEX | #1A2F2B | |
|---|---|---|
| RGB | rgb(26, 47, 43) | |
| RGB percent | rgb(10.2%, 18.4%, 16.9%) | |
| HSL | hsl(169, 29%, 14%) | |
| HSV / HSB | hsv(169, 45%, 18%) | |
| CMYK | cmyk(45%, 0%, 9%, 82%) | |
| CIE LAB | lab(17.58, -9.58, -0.09) | |
| CIE LCH | lch(17.58, 9.58, 180.52) | |
| CIE XYZ | xyz(1.878, 2.427, 2.654) | |
| Decimal | 1716011 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A2F2B, 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 #1A2F2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.49:1 | Fail | Fail | Fail |
| Sample text | 14.14:1 | Pass | Pass | Pass |
| #1A2F2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.14:1 | Pass | Pass | Pass |
| Sample text | 1.49: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 #1A2F2B looks to people with the most common types of color vision deficiency.
#2d2d2bProtanopia
no red cones#2a2a2bDeuteranopia
no green cones#13302eTritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #1a2f2b; }
.text { color: #1a2f2b; }
.border { border: 2px solid #1a2f2b; }
.transparent { background-color: rgb(26 47 43 / 50%); }
.gradient { background: linear-gradient(to right, #1a2f2b, #1a292f); }
Similar colors
#162825Swamp Thing#293432Aztec#133337Elite Teal#2b322dTerminal Black#10252aSunken Ship#0f282fBlack Box#12403cBotanical Night#1c3b42Royal Neptune
Closest common color name: Onyx.
Questions
- What color is #1A2F2B?
- #1A2F2B is a very dark, desaturated spring green, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #1A2F2B?
- The RGB value is 26, 47, 43: 26 red, 47 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #1A2F2B?
- The complementary color is #2F1A1E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A2F2B?
- White text. Black text has a contrast ratio of 1.49:1 and white text 14.14:1. WCAG asks for at least 4.5:1 for normal text.