#181B1E color
The hex color #181B1E is a very dark, grayish azure.
In the RGB color model it is made of 9.4% red, 10.6% green and 11.8% blue (24, 27, 30).
Its hue angle is 210°, with 11% saturation and 11% lightness. For print, the CMYK equivalent is 20% cyan, 10% magenta, 0% yellow and 88% black.
The closest named color is Satin Deep Black (#1C1E21), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.29:1).
#181B1E color codes
| HEX | #181B1E | |
|---|---|---|
| RGB | rgb(24, 27, 30) | |
| RGB percent | rgb(9.4%, 10.6%, 11.8%) | |
| HSL | hsl(210, 11%, 11%) | |
| HSV / HSB | hsv(210, 20%, 12%) | |
| CMYK | cmyk(20%, 10%, 0%, 88%) | |
| CIE LAB | lab(9.58, -0.57, -2.56) | |
| CIE LCH | lch(9.58, 2.62, 257.39) | |
| CIE XYZ | xyz(1.003, 1.072, 1.382) | |
| Decimal | 1579806 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181B1E, 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 #181B1E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.29:1 | Pass | Pass | Pass |
| #181B1E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.29:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #181B1E looks to people with the most common types of color vision deficiency.
#1a1b1eProtanopia
no red cones#191a1eDeuteranopia
no green cones#171c1cTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #181b1e; }
.text { color: #181b1e; }
.border { border: 2px solid #181b1e; }
.transparent { background-color: rgb(24 27 30 / 50%); }
.gradient { background: linear-gradient(to right, #181b1e, #18181e); }
Similar colors
#1c1e21Satin Deep Black#161718Dark Moon#17171aPiano Black#1e1e21Inkwell Inception#202124Noble Black#151517Dark Void#151515Matt Black#141414Sooty
Closest common color name: Midnight Black.
Questions
- What color is #181B1E?
- #181B1E is a very dark, grayish azure, closest to the named color Satin Deep Black. It belongs to the black family of colors.
- What is the RGB value of #181B1E?
- The RGB value is 24, 27, 30: 24 red, 27 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #181B1E?
- The complementary color is #1E1B18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181B1E?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.29:1. WCAG asks for at least 4.5:1 for normal text.