#151A1B color
The hex color #151A1B is a very dark, grayish cyan.
In the RGB color model it is made of 8.2% red, 10.2% green and 10.6% blue (21, 26, 27).
Its hue angle is 190°, with 13% saturation and 9% lightness. For print, the CMYK equivalent is 22% cyan, 4% magenta, 0% yellow and 89% black.
The closest named color is Dark Moon (#161718), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.57:1).
#151A1B color codes
| HEX | #151A1B | |
|---|---|---|
| RGB | rgb(21, 26, 27) | |
| RGB percent | rgb(8.2%, 10.2%, 10.6%) | |
| HSL | hsl(190, 13%, 9%) | |
| HSV / HSB | hsv(190, 22%, 11%) | |
| CMYK | cmyk(22%, 4%, 0%, 89%) | |
| CIE LAB | lab(8.8, -2.05, -1.49) | |
| CIE LCH | lch(8.8, 2.54, 215.94) | |
| CIE XYZ | xyz(0.876, 0.977, 1.179) | |
| Decimal | 1382939 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #151A1B, 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 #151A1B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.57:1 | Pass | Pass | Pass |
| #151A1B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.57:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #151A1B looks to people with the most common types of color vision deficiency.
#191a1bProtanopia
no red cones#18191bDeuteranopia
no green cones#131b1aTritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #151a1b; }
.text { color: #151a1b; }
.border { border: 2px solid #151a1b; }
.transparent { background-color: rgb(21 26 27 / 50%); }
.gradient { background: linear-gradient(to right, #151a1b, #15171b); }
Similar colors
#161718Dark Moon#0e191cBlack Stallion#1c1e21Satin Deep Black#151515Matt Black#141414Sooty#1c1c1aCoco’s Black#131313Cursed Black#151517Dark Void
Closest common color name: Off Black.
Questions
- What color is #151A1B?
- #151A1B is a very dark, grayish cyan, closest to the named color Dark Moon. It belongs to the black family of colors.
- What is the RGB value of #151A1B?
- The RGB value is 21, 26, 27: 21 red, 26 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #151A1B?
- The complementary color is #1B1615, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #151A1B?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.57:1. WCAG asks for at least 4.5:1 for normal text.