#1B2B23 color
The hex color #1B2B23 is a very dark, grayish spring green.
In the RGB color model it is made of 10.6% red, 16.9% green and 13.7% blue (27, 43, 35).
Its hue angle is 150°, with 23% saturation and 14% lightness. For print, the CMYK equivalent is 37% cyan, 0% magenta, 19% yellow and 83% black.
The closest named color is Swamp Thing (#162825), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.83:1).
#1B2B23 color codes
| HEX | #1B2B23 | |
|---|---|---|
| RGB | rgb(27, 43, 35) | |
| RGB percent | rgb(10.6%, 16.9%, 13.7%) | |
| HSL | hsl(150, 23%, 14%) | |
| HSV / HSB | hsv(150, 37%, 17%) | |
| CMYK | cmyk(37%, 0%, 19%, 83%) | |
| CIE LAB | lab(15.91, -8.9, 3.09) | |
| CIE LCH | lch(15.91, 9.42, 160.86) | |
| CIE XYZ | xyz(1.619, 2.082, 1.906) | |
| Decimal | 1780515 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B2B23, 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 #1B2B23 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.83:1 | Pass | Pass | Pass |
| #1B2B23 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.83:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #1B2B23 looks to people with the most common types of color vision deficiency.
#2b2923Protanopia
no red cones#282723Deuteranopia
no green cones#182b29Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #1b2b23; }
.text { color: #1b2b23; }
.border { border: 2px solid #1b2b23; }
.transparent { background-color: rgb(27 43 35 / 50%); }
.gradient { background: linear-gradient(to right, #1b2b23, #1b2b2b); }
Similar colors
#162825Swamp Thing#112211Nightmare#2b322dTerminal Black#1e231cUnderworld#293432Aztec#2b2e26Marshland#262926Bitter Liquorice#17240bMidnight Pines
Closest common color name: Onyx.
Questions
- What color is #1B2B23?
- #1B2B23 is a very dark, grayish spring green, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #1B2B23?
- The RGB value is 27, 43, 35: 27 red, 43 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #1B2B23?
- The complementary color is #2B1B23, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B2B23?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.83:1. WCAG asks for at least 4.5:1 for normal text.