#1B2C23 color
The hex color #1B2C23 is a very dark, grayish green.
In the RGB color model it is made of 10.6% red, 17.3% green and 13.7% blue (27, 44, 35).
Its hue angle is 148°, with 24% saturation and 14% lightness. For print, the CMYK equivalent is 39% cyan, 0% magenta, 20% yellow and 83% black.
The closest named color is Swamp Thing (#162825), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.67:1).
#1B2C23 color codes
| HEX | #1B2C23 | |
|---|---|---|
| RGB | rgb(27, 44, 35) | |
| RGB percent | rgb(10.6%, 17.3%, 13.7%) | |
| HSL | hsl(148, 24%, 14%) | |
| HSV / HSB | hsv(148, 39%, 17%) | |
| CMYK | cmyk(39%, 0%, 20%, 83%) | |
| CIE LAB | lab(16.28, -9.53, 3.62) | |
| CIE LCH | lch(16.28, 10.2, 159.22) | |
| CIE XYZ | xyz(1.656, 2.156, 1.919) | |
| Decimal | 1780771 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B2C23, 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 #1B2C23 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.67:1 | Pass | Pass | Pass |
| #1B2C23 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.67:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #1B2C23 looks to people with the most common types of color vision deficiency.
#2c2a23Protanopia
no red cones#292824Deuteranopia
no green cones#172c29Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #1b2c23; }
.text { color: #1b2c23; }
.border { border: 2px solid #1b2c23; }
.transparent { background-color: rgb(27 44 35 / 50%); }
.gradient { background: linear-gradient(to right, #1b2c23, #1b2c2c); }
Similar colors
#162825Swamp Thing#112211Nightmare#2b322dTerminal Black#293432Aztec#1e231cUnderworld#2b2e26Marshland#17240bMidnight Pines#264334Everglade
Closest common color name: Onyx.
Questions
- What color is #1B2C23?
- #1B2C23 is a very dark, grayish green, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #1B2C23?
- The RGB value is 27, 44, 35: 27 red, 44 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #1B2C23?
- The complementary color is #2C1B24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B2C23?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.67:1. WCAG asks for at least 4.5:1 for normal text.