#1B221B color
The hex color #1B221B is a very dark, grayish green.
In the RGB color model it is made of 10.6% red, 13.3% green and 10.6% blue (27, 34, 27).
Its hue angle is 120°, with 11% saturation and 12% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 21% yellow and 87% black.
The closest named color is Underworld (#1E231C), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.26:1).
#1B221B color codes
| HEX | #1B221B | |
|---|---|---|
| RGB | rgb(27, 34, 27) | |
| RGB percent | rgb(10.6%, 13.3%, 10.6%) | |
| HSL | hsl(120, 11%, 12%) | |
| HSV / HSB | hsv(120, 21%, 13%) | |
| CMYK | cmyk(21%, 0%, 21%, 87%) | |
| CIE LAB | lab(12.33, -4.97, 3.68) | |
| CIE LCH | lch(12.33, 6.18, 143.48) | |
| CIE XYZ | xyz(1.222, 1.456, 1.253) | |
| Decimal | 1778203 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B221B, 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 #1B221B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.26:1 | Pass | Pass | Pass |
| #1B221B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.26:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #1B221B looks to people with the most common types of color vision deficiency.
#22211bProtanopia
no red cones#21201bDeuteranopia
no green cones#1a2220Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #1b221b; }
.text { color: #1b221b; }
.border { border: 2px solid #1b221b; }
.transparent { background-color: rgb(27 34 27 / 50%); }
.gradient { background: linear-gradient(to right, #1b221b, #1b221e); }
Similar colors
#1e231cUnderworld#262926Bitter Liquorice#2b2e26Marshland#041108Jedi Night#162825Swamp Thing#2b322dTerminal Black#091101Memorial Black#020f03Blackn’t
Closest common color name: Onyx.
Questions
- What color is #1B221B?
- #1B221B 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 #1B221B?
- The RGB value is 27, 34, 27: 27 red, 34 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #1B221B?
- The complementary color is #221B22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B221B?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.26:1. WCAG asks for at least 4.5:1 for normal text.