#121221 color

#121221 rgb(18, 18, 33)
Shades of black

The hex color #121221 is a very dark, desaturated blue.

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

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

The closest named color is Corbeau (#111122), a difference of 1 ΔE, which is barely visible.

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

#121221 color codes

HEX#121221
RGBrgb(18, 18, 33)
RGB percentrgb(7.1%, 7.1%, 12.9%)
HSLhsl(240, 29%, 10%)
HSV / HSBhsv(240, 45%, 13%)
CMYKcmyk(45%, 45%, 0%, 87%)
CIE LABlab(6.06, 4.2, -10.22)
CIE LCHlch(6.06, 11.04, 292.33)
CIE XYZxyz(0.74, 0.671, 1.529)
Decimal1184289
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #121221, 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 #121221RatioAAAAAAA large
Sample text1.13:1FailFailFail
Sample text18.52:1PassPassPass
#121221 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 #121221 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Midnight Black.

Questions

What color is #121221?
#121221 is a very dark, desaturated blue, closest to the named color Corbeau. It belongs to the black family of colors.
What is the RGB value of #121221?
The RGB value is 18, 18, 33: 18 red, 18 green and 33 blue on a 0 to 255 scale.
What is the complementary color of #121221?
The complementary color is #212112, found by rotating the hue 180° on the color wheel.
Is black or white text better on #121221?
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.