#12121D color
The hex color #12121D is a very dark, grayish blue.
In the RGB color model it is made of 7.1% red, 7.1% green and 11.4% blue (18, 18, 29).
Its hue angle is 240°, with 23% saturation and 9% lightness. For print, the CMYK equivalent is 38% cyan, 38% magenta, 0% yellow and 89% black.
The closest named color is Back in Black (#16141C), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.58:1).
#12121D color codes
| HEX | #12121D | |
|---|---|---|
| RGB | rgb(18, 18, 29) | |
| RGB percent | rgb(7.1%, 7.1%, 11.4%) | |
| HSL | hsl(240, 23%, 9%) | |
| HSV / HSB | hsv(240, 38%, 11%) | |
| CMYK | cmyk(38%, 38%, 0%, 89%) | |
| CIE LAB | lab(5.87, 2.86, -7.43) | |
| CIE LCH | lch(5.87, 7.96, 291.05) | |
| CIE XYZ | xyz(0.687, 0.65, 1.251) | |
| Decimal | 1184285 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12121D, 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 #12121D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.58:1 | Pass | Pass | Pass |
| #12121D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.58:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #12121D looks to people with the most common types of color vision deficiency.
#0f131dProtanopia
no red cones#0f131dDeuteranopia
no green cones#0f1416Tritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #12121d; }
.text { color: #12121d; }
.border { border: 2px solid #12121d; }
.transparent { background-color: rgb(18 18 29 / 50%); }
.gradient { background: linear-gradient(to right, #12121d, #18121d); }
Similar colors
#16141cBack in Black#16161dEigengrau#060313Obsidian Shard#080813Narwhal Gray#111122Corbeau#1a161dViolet Void#0b0c14Midnight Oil#0c121bMidnight Edition
Closest common color name: Midnight Black.
Questions
- What color is #12121D?
- #12121D 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 #12121D?
- The RGB value is 18, 18, 29: 18 red, 18 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #12121D?
- The complementary color is #1D1D12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12121D?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.58:1. WCAG asks for at least 4.5:1 for normal text.