#121821 color

#121821 rgb(18, 24, 33)
Shades of black

The hex color #121821 is a very dark, desaturated azure.

In the RGB color model it is made of 7.1% red, 9.4% green and 12.9% blue (18, 24, 33).

Its hue angle is 216°, with 29% saturation and 10% lightness. For print, the CMYK equivalent is 45% cyan, 27% magenta, 0% yellow and 87% black.

The closest named color is Midnight Edition (#0C121B), a difference of 1.7 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 17.82:1).

#121821 color codes

HEX#121821
RGBrgb(18, 24, 33)
RGB percentrgb(7.1%, 9.4%, 12.9%)
HSLhsl(216, 29%, 10%)
HSV / HSBhsv(216, 45%, 13%)
CMYKcmyk(45%, 27%, 0%, 87%)
CIE LABlab(8.05, 0.12, -7.16)
CIE LCHlch(8.05, 7.16, 270.99)
CIE XYZxyz(0.851, 0.892, 1.566)
Decimal1185825
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #121821, 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 #121821RatioAAAAAAA large
Sample text1.18:1FailFailFail
Sample text17.82:1PassPassPass
#121821 as text onRatioAAAAAAA large
Sample text17.82:1PassPassPass
Sample text1.18: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 #121821 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #121821; }
.text { color: #121821; }
.border { border: 2px solid #121821; }
.transparent { background-color: rgb(18 24 33 / 50%); }
.gradient { background: linear-gradient(to right, #121821, #131221); }
Background
Text color
Border

Similar colors

Questions

What color is #121821?
#121821 is a very dark, desaturated azure, closest to the named color Midnight Edition. It belongs to the black family of colors.
What is the RGB value of #121821?
The RGB value is 18, 24, 33: 18 red, 24 green and 33 blue on a 0 to 255 scale.
What is the complementary color of #121821?
The complementary color is #211B12, found by rotating the hue 180° on the color wheel.
Is black or white text better on #121821?
White text. Black text has a contrast ratio of 1.18:1 and white text 17.82:1. WCAG asks for at least 4.5:1 for normal text.