#231B1F color
The hex color #231B1F is a very dark, grayish rose.
In the RGB color model it is made of 13.7% red, 10.6% green and 12.2% blue (35, 27, 31).
Its hue angle is 330°, with 13% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 23% magenta, 11% yellow and 86% black.
The closest named color is Night Demons (#201B20), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.83:1).
#231B1F color codes
| HEX | #231B1F | |
|---|---|---|
| RGB | rgb(35, 27, 31) | |
| RGB percent | rgb(13.7%, 10.6%, 12.2%) | |
| HSL | hsl(330, 13%, 12%) | |
| HSV / HSB | hsv(330, 23%, 14%) | |
| CMYK | cmyk(0%, 23%, 11%, 86%) | |
| CIE LAB | lab(10.85, 4.82, -1.28) | |
| CIE LCH | lch(10.85, 4.99, 345.17) | |
| CIE XYZ | xyz(1.332, 1.24, 1.465) | |
| Decimal | 2300703 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231B1F, 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 #231B1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.83:1 | Pass | Pass | Pass |
| #231B1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.83:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #231B1F looks to people with the most common types of color vision deficiency.
#1c1c1fProtanopia
no red cones#1d1e1fDeuteranopia
no green cones#241b1cTritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #231b1f; }
.text { color: #231b1f; }
.border { border: 2px solid #231b1f; }
.transparent { background-color: rgb(35 27 31 / 50%); }
.gradient { background: linear-gradient(to right, #231b1f, #231b1b); }
Similar colors
#201b20Night Demons#1f1518Bats Cloak#252024Ink Black#241f20Velvet Black#1a161dViolet Void#1b1212Licorice#211e1fUmbra#251b19Dark Orchestra
Questions
- What color is #231B1F?
- #231B1F is a very dark, grayish rose, closest to the named color Night Demons. It belongs to the black family of colors.
- What is the RGB value of #231B1F?
- The RGB value is 35, 27, 31: 35 red, 27 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #231B1F?
- The complementary color is #1B231F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231B1F?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.83:1. WCAG asks for at least 4.5:1 for normal text.