#212B3C color
The hex color #212B3C is a very dark, desaturated azure.
In the RGB color model it is made of 12.9% red, 16.9% green and 23.5% blue (33, 43, 60).
Its hue angle is 218°, with 29% saturation and 18% lightness. For print, the CMYK equivalent is 45% cyan, 28% magenta, 0% yellow and 76% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.23:1).
#212B3C color codes
| HEX | #212B3C | |
|---|---|---|
| RGB | rgb(33, 43, 60) | |
| RGB percent | rgb(12.9%, 16.9%, 23.5%) | |
| HSL | hsl(218, 29%, 18%) | |
| HSV / HSB | hsv(218, 45%, 24%) | |
| CMYK | cmyk(45%, 28%, 0%, 76%) | |
| CIE LAB | lab(17.35, 0.99, -12.21) | |
| CIE LCH | lch(17.35, 12.25, 274.63) | |
| CIE XYZ | xyz(2.306, 2.377, 4.611) | |
| Decimal | 2173756 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212B3C, 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 #212B3C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.23:1 | Pass | Pass | Pass |
| #212B3C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.23:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #212B3C looks to people with the most common types of color vision deficiency.
#252c3dProtanopia
no red cones#22293cDeuteranopia
no green cones#182f31Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #212b3c; }
.text { color: #212b3c; }
.border { border: 2px solid #212b3c; }
.transparent { background-color: rgb(33 43 60 / 50%); }
.gradient { background: linear-gradient(to right, #212b3c, #25213c); }
Similar colors
#1e2433Moonless Mystery#1b2431Dark#21263aMidnight Express#1c2841Eternal Darkness#303543Total Eclipse#222831Infinity#102030The Count’s Black#0e1d32Trapped Darkness
Closest common color name: Prussian Blue.
Questions
- What color is #212B3C?
- #212B3C is a very dark, desaturated azure, closest to the named color Moonless Mystery. It belongs to the gray family of colors.
- What is the RGB value of #212B3C?
- The RGB value is 33, 43, 60: 33 red, 43 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #212B3C?
- The complementary color is #3C3221, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212B3C?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.23:1. WCAG asks for at least 4.5:1 for normal text.