#12131A color
The hex color #12131A is a very dark, grayish blue.
In the RGB color model it is made of 7.1% red, 7.5% green and 10.2% blue (18, 19, 26).
Its hue angle is 233°, with 18% saturation and 9% lightness. For print, the CMYK equivalent is 31% cyan, 27% magenta, 0% yellow and 90% 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.52:1).
#12131A color codes
| HEX | #12131A | |
|---|---|---|
| RGB | rgb(18, 19, 26) | |
| RGB percent | rgb(7.1%, 7.5%, 10.2%) | |
| HSL | hsl(233, 18%, 9%) | |
| HSV / HSB | hsv(233, 31%, 10%) | |
| CMYK | cmyk(31%, 27%, 0%, 90%) | |
| CIE LAB | lab(6.04, 1.35, -4.85) | |
| CIE LCH | lch(6.04, 5.03, 285.56) | |
| CIE XYZ | xyz(0.669, 0.669, 1.071) | |
| Decimal | 1184538 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12131A, 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 #12131A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.52:1 | Pass | Pass | Pass |
| #12131A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.52: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 #12131A looks to people with the most common types of color vision deficiency.
#11141aProtanopia
no red cones#11131aDeuteranopia
no green cones#101415Tritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #12131a; }
.text { color: #12131a; }
.border { border: 2px solid #12131a; }
.transparent { background-color: rgb(18 19 26 / 50%); }
.gradient { background: linear-gradient(to right, #12131a, #15121a); }
Similar colors
#16161dEigengrau#0b0c14Midnight Oil#080813Narwhal Gray#16141cBack in Black#060b14Dark Rift#0c121bMidnight Edition#17171aPiano Black#0b0c10Midnight Black
Questions
- What color is #12131A?
- #12131A 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 #12131A?
- The RGB value is 18, 19, 26: 18 red, 19 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #12131A?
- The complementary color is #1A1912, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12131A?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.52:1. WCAG asks for at least 4.5:1 for normal text.