#1B231B color
The hex color #1B231B is a very dark, grayish green.
In the RGB color model it is made of 10.6% red, 13.7% green and 10.6% blue (27, 35, 27).
Its hue angle is 120°, with 13% saturation and 12% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 23% yellow and 86% black.
The closest named color is Underworld (#1E231C), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.12:1).
#1B231B color codes
| HEX | #1B231B | |
|---|---|---|
| RGB | rgb(27, 35, 27) | |
| RGB percent | rgb(10.6%, 13.7%, 10.6%) | |
| HSL | hsl(120, 13%, 12%) | |
| HSV / HSB | hsv(120, 23%, 14%) | |
| CMYK | cmyk(23%, 0%, 23%, 86%) | |
| CIE LAB | lab(12.7, -5.65, 4.2) | |
| CIE LCH | lch(12.7, 7.04, 143.35) | |
| CIE XYZ | xyz(1.251, 1.514, 1.263) | |
| Decimal | 1778459 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B231B, 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 #1B231B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.12:1 | Pass | Pass | Pass |
| #1B231B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.12:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #1B231B looks to people with the most common types of color vision deficiency.
#23211bProtanopia
no red cones#22211bDeuteranopia
no green cones#1a2321Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #1b231b; }
.text { color: #1b231b; }
.border { border: 2px solid #1b231b; }
.transparent { background-color: rgb(27 35 27 / 50%); }
.gradient { background: linear-gradient(to right, #1b231b, #1b231f); }
Similar colors
#1e231cUnderworld#2b2e26Marshland#162825Swamp Thing#262926Bitter Liquorice#2b322dTerminal Black#091101Memorial Black#041108Jedi Night#020f03Blackn’t
Closest common color name: Onyx.
Questions
- What color is #1B231B?
- #1B231B 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 #1B231B?
- The RGB value is 27, 35, 27: 27 red, 35 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #1B231B?
- The complementary color is #231B23, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B231B?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.12:1. WCAG asks for at least 4.5:1 for normal text.