#1A1B1B color
The hex color #1A1B1B is a dark gray.
In the RGB color model it is made of 10.2% red, 10.6% green and 10.6% blue (26, 27, 27).
Its hue angle is 180°, with 2% saturation and 10% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 0% yellow and 89% black.
The closest named color is Dark Moon (#161718), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.26:1).
#1A1B1B color codes
| HEX | #1A1B1B | |
|---|---|---|
| RGB | rgb(26, 27, 27) | |
| RGB percent | rgb(10.2%, 10.6%, 10.6%) | |
| HSL | hsl(180, 2%, 10%) | |
| HSV / HSB | hsv(180, 4%, 11%) | |
| CMYK | cmyk(4%, 0%, 0%, 89%) | |
| CIE LAB | lab(9.66, -0.48, -0.17) | |
| CIE LCH | lch(9.66, 0.51, 199.26) | |
| CIE XYZ | xyz(1.016, 1.083, 1.192) | |
| Decimal | 1710875 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A1B1B, 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 #1A1B1B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.26:1 | Pass | Pass | Pass |
| #1A1B1B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.26:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #1A1B1B looks to people with the most common types of color vision deficiency.
#1b1b1bProtanopia
no red cones#1b1b1bDeuteranopia
no green cones#1a1b1bTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #1a1b1b; }
.text { color: #1a1b1b; }
.border { border: 2px solid #1a1b1b; }
.transparent { background-color: rgb(26 27 27 / 50%); }
.gradient { background: linear-gradient(to right, #1a1b1b, #1a1a1b); }
Similar colors
#161718Dark Moon#1c1c1aCoco’s Black#151515Matt Black#212121Lead#141414Sooty#191916Twilight Zone#1c1e21Satin Deep Black#131313Cursed Black
Closest common color name: Off Black.
Questions
- What color is #1A1B1B?
- #1A1B1B is a dark gray, closest to the named color Dark Moon. It belongs to the black family of colors.
- What is the RGB value of #1A1B1B?
- The RGB value is 26, 27, 27: 26 red, 27 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #1A1B1B?
- The complementary color is #1B1A1A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A1B1B?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.26:1. WCAG asks for at least 4.5:1 for normal text.