#12131A color

#12131A rgb(18, 19, 26)
Shades of black

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
RGBrgb(18, 19, 26)
RGB percentrgb(7.1%, 7.5%, 10.2%)
HSLhsl(233, 18%, 9%)
HSV / HSBhsv(233, 31%, 10%)
CMYKcmyk(31%, 27%, 0%, 90%)
CIE LABlab(6.04, 1.35, -4.85)
CIE LCHlch(6.04, 5.03, 285.56)
CIE XYZxyz(0.669, 0.669, 1.071)
Decimal1184538
Short hexNone (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 #12131ARatioAAAAAAA large
Sample text1.13:1FailFailFail
Sample text18.52:1PassPassPass
#12131A as text onRatioAAAAAAA large
Sample text18.52:1PassPassPass
Sample text1.13:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.