#12131B color
The hex color #12131B is a very dark, grayish blue.
In the RGB color model it is made of 7.1% red, 7.5% green and 10.6% blue (18, 19, 27).
Its hue angle is 233°, with 20% saturation and 9% lightness. For print, the CMYK equivalent is 33% cyan, 30% magenta, 0% yellow and 89% black.
The closest named color is Eigengrau (#16161D), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.51:1).
#12131B color codes
| HEX | #12131B | |
|---|---|---|
| RGB | rgb(18, 19, 27) | |
| RGB percent | rgb(7.1%, 7.5%, 10.6%) | |
| HSL | hsl(233, 20%, 9%) | |
| HSV / HSB | hsv(233, 33%, 11%) | |
| CMYK | cmyk(33%, 30%, 0%, 89%) | |
| CIE LAB | lab(6.08, 1.64, -5.56) | |
| CIE LCH | lch(6.08, 5.8, 286.42) | |
| CIE XYZ | xyz(0.68, 0.673, 1.131) | |
| Decimal | 1184539 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12131B, 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 #12131B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.51:1 | Pass | Pass | Pass |
| #12131B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.51: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 #12131B looks to people with the most common types of color vision deficiency.
#11141bProtanopia
no red cones#10131bDeuteranopia
no green cones#101416Tritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #12131b; }
.text { color: #12131b; }
.border { border: 2px solid #12131b; }
.transparent { background-color: rgb(18 19 27 / 50%); }
.gradient { background: linear-gradient(to right, #12131b, #16121b); }
Similar colors
#16161dEigengrau#0b0c14Midnight Oil#16141cBack in Black#080813Narwhal Gray#0c121bMidnight Edition#060b14Dark Rift#17171aPiano Black#1a161dViolet Void
Closest common color name: Midnight Black.
Questions
- What color is #12131B?
- #12131B is a very dark, grayish blue, closest to the named color Eigengrau. It belongs to the black family of colors.
- What is the RGB value of #12131B?
- The RGB value is 18, 19, 27: 18 red, 19 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #12131B?
- The complementary color is #1B1A12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12131B?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.51:1. WCAG asks for at least 4.5:1 for normal text.