#1B231F color
The hex color #1B231F is a very dark, grayish spring green.
In the RGB color model it is made of 10.6% red, 13.7% green and 12.2% blue (27, 35, 31).
Its hue angle is 150°, with 13% saturation and 12% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 11% yellow and 86% black.
The closest named color is Underworld (#1E231C), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.07:1).
#1B231F color codes
| HEX | #1B231F | |
|---|---|---|
| RGB | rgb(27, 35, 31) | |
| RGB percent | rgb(10.6%, 13.7%, 12.2%) | |
| HSL | hsl(150, 13%, 12%) | |
| HSV / HSB | hsv(150, 23%, 14%) | |
| CMYK | cmyk(23%, 0%, 11%, 86%) | |
| CIE LAB | lab(12.82, -4.65, 1.5) | |
| CIE LCH | lch(12.82, 4.89, 162.14) | |
| CIE XYZ | xyz(1.3, 1.534, 1.524) | |
| Decimal | 1778463 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B231F, 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 #1B231F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.07:1 | Pass | Pass | Pass |
| #1B231F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.07:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #1B231F looks to people with the most common types of color vision deficiency.
#23221fProtanopia
no red cones#21211fDeuteranopia
no green cones#192322Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #1b231f; }
.text { color: #1b231f; }
.border { border: 2px solid #1b231f; }
.transparent { background-color: rgb(27 35 31 / 50%); }
.gradient { background: linear-gradient(to right, #1b231f, #1b2323); }
Similar colors
#1e231cUnderworld#262926Bitter Liquorice#162825Swamp Thing#2b322dTerminal Black#2b2e26Marshland#262a2bGraphite Black#293432Aztec#041108Jedi Night
Closest common color name: Onyx.
Questions
- What color is #1B231F?
- #1B231F is a very dark, grayish spring green, closest to the named color Underworld. It belongs to the black family of colors.
- What is the RGB value of #1B231F?
- The RGB value is 27, 35, 31: 27 red, 35 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #1B231F?
- The complementary color is #231B1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B231F?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.07:1. WCAG asks for at least 4.5:1 for normal text.