#1B251F color
The hex color #1B251F is a very dark, grayish green.
In the RGB color model it is made of 10.6% red, 14.5% green and 12.2% blue (27, 37, 31).
Its hue angle is 144°, with 16% saturation and 13% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 16% yellow and 85% black.
The closest named color is Underworld (#1E231C), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.78:1).
#1B251F color codes
| HEX | #1B251F | |
|---|---|---|
| RGB | rgb(27, 37, 31) | |
| RGB percent | rgb(10.6%, 14.5%, 12.2%) | |
| HSL | hsl(144, 16%, 13%) | |
| HSV / HSB | hsv(144, 27%, 15%) | |
| CMYK | cmyk(27%, 0%, 16%, 85%) | |
| CIE LAB | lab(13.56, -6.01, 2.56) | |
| CIE LCH | lch(13.56, 6.53, 156.92) | |
| CIE XYZ | xyz(1.361, 1.655, 1.544) | |
| Decimal | 1778975 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B251F, 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 #1B251F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.78:1 | Pass | Pass | Pass |
| #1B251F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.78:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #1B251F looks to people with the most common types of color vision deficiency.
#25231fProtanopia
no red cones#23221fDeuteranopia
no green cones#192523Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #1b251f; }
.text { color: #1b251f; }
.border { border: 2px solid #1b251f; }
.transparent { background-color: rgb(27 37 31 / 50%); }
.gradient { background: linear-gradient(to right, #1b251f, #1b2524); }
Similar colors
#1e231cUnderworld#162825Swamp Thing#2b322dTerminal Black#262926Bitter Liquorice#2b2e26Marshland#293432Aztec#041108Jedi Night#091101Memorial Black
Closest common color name: Onyx.
Questions
- What color is #1B251F?
- #1B251F 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 #1B251F?
- The RGB value is 27, 37, 31: 27 red, 37 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #1B251F?
- The complementary color is #251B21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B251F?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.78:1. WCAG asks for at least 4.5:1 for normal text.