#12111B color
The hex color #12111B is a very dark, grayish blue.
In the RGB color model it is made of 7.1% red, 6.7% green and 10.6% blue (18, 17, 27).
Its hue angle is 246°, with 23% saturation and 9% lightness. For print, the CMYK equivalent is 33% cyan, 37% magenta, 0% yellow and 89% black.
The closest named color is Back in Black (#16141C), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.72:1).
#12111B color codes
| HEX | #12111B | |
|---|---|---|
| RGB | rgb(18, 17, 27) | |
| RGB percent | rgb(7.1%, 6.7%, 10.6%) | |
| HSL | hsl(246, 23%, 9%) | |
| HSV / HSB | hsv(246, 37%, 11%) | |
| CMYK | cmyk(33%, 37%, 0%, 89%) | |
| CIE LAB | lab(5.5, 2.84, -6.43) | |
| CIE LCH | lch(5.5, 7.03, 293.79) | |
| CIE XYZ | xyz(0.648, 0.609, 1.12) | |
| Decimal | 1184027 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12111B, 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 #12111B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.12:1 | Fail | Fail | Fail |
| Sample text | 18.72:1 | Pass | Pass | Pass |
| #12111B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.72:1 | Pass | Pass | Pass |
| Sample text | 1.12: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 #12111B looks to people with the most common types of color vision deficiency.
#0e121bProtanopia
no red cones#0e121bDeuteranopia
no green cones#101314Tritanopia
no blue cones#121212Achromatopsia
no color vision
CSS examples
.background { background-color: #12111b; }
.text { color: #12111b; }
.border { border: 2px solid #12111b; }
.transparent { background-color: rgb(18 17 27 / 50%); }
.gradient { background: linear-gradient(to right, #12111b, #17111b); }
Similar colors
#16141cBack in Black#16161dEigengrau#080813Narwhal Gray#060313Obsidian Shard#1a161dViolet Void#0b0c14Midnight Oil#0c121bMidnight Edition#060b14Dark Rift
Closest common color name: Midnight Black.
Questions
- What color is #12111B?
- #12111B is a very dark, grayish blue, closest to the named color Back in Black. It belongs to the black family of colors.
- What is the RGB value of #12111B?
- The RGB value is 18, 17, 27: 18 red, 17 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #12111B?
- The complementary color is #1A1B11, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12111B?
- White text. Black text has a contrast ratio of 1.12:1 and white text 18.72:1. WCAG asks for at least 4.5:1 for normal text.