#121F2F color
The hex color #121F2F is a very dark, desaturated azure.
In the RGB color model it is made of 7.1% red, 12.2% green and 18.4% blue (18, 31, 47).
Its hue angle is 213°, with 45% saturation and 13% lightness. For print, the CMYK equivalent is 62% cyan, 34% magenta, 0% yellow and 82% black.
The closest named color is The Count’s Black (#102030), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.63:1).
#121F2F color codes
| HEX | #121F2F | |
|---|---|---|
| RGB | rgb(18, 31, 47) | |
| RGB percent | rgb(7.1%, 12.2%, 18.4%) | |
| HSL | hsl(213, 45%, 13%) | |
| HSV / HSB | hsv(213, 62%, 18%) | |
| CMYK | cmyk(62%, 34%, 0%, 82%) | |
| CIE LAB | lab(11.37, 0.12, -12.37) | |
| CIE LCH | lch(11.37, 12.37, 270.54) | |
| CIE XYZ | xyz(1.252, 1.314, 2.876) | |
| Decimal | 1187631 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #121F2F, 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 #121F2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.63:1 | Pass | Pass | Pass |
| #121F2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.63:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #121F2F looks to people with the most common types of color vision deficiency.
#192030Protanopia
no red cones#151d2fDeuteranopia
no green cones#052325Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #121f2f; }
.text { color: #121f2f; }
.border { border: 2px solid #121f2f; }
.transparent { background-color: rgb(18 31 47 / 50%); }
.gradient { background: linear-gradient(to right, #121f2f, #14122f); }
Similar colors
#102030The Count’s Black#1b2431Dark#0e1d32Trapped Darkness#1e2433Moonless Mystery#001b2eOxford by Night#161e34Sombre Night#222831Infinity#1c2841Eternal Darkness
Closest common color name: Oxford Blue.
Questions
- What color is #121F2F?
- #121F2F is a very dark, desaturated azure, closest to the named color The Count’s Black. It belongs to the black family of colors.
- What is the RGB value of #121F2F?
- The RGB value is 18, 31, 47: 18 red, 31 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #121F2F?
- The complementary color is #2F2212, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #121F2F?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.63:1. WCAG asks for at least 4.5:1 for normal text.