#21213D color
The hex color #21213D is a very dark, desaturated blue.
In the RGB color model it is made of 12.9% red, 12.9% green and 23.9% blue (33, 33, 61).
Its hue angle is 240°, with 30% saturation and 18% lightness. For print, the CMYK equivalent is 46% cyan, 46% magenta, 0% yellow and 76% black.
The closest named color is Black Market (#222244), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.56:1).
#21213D color codes
| HEX | #21213D | |
|---|---|---|
| RGB | rgb(33, 33, 61) | |
| RGB percent | rgb(12.9%, 12.9%, 23.9%) | |
| HSL | hsl(240, 30%, 18%) | |
| HSV / HSB | hsv(240, 46%, 24%) | |
| CMYK | cmyk(46%, 46%, 0%, 76%) | |
| CIE LAB | lab(14.1, 8.58, -17.98) | |
| CIE LCH | lch(14.1, 19.92, 295.51) | |
| CIE XYZ | xyz(2.013, 1.748, 4.645) | |
| Decimal | 2171197 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21213D, 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 #21213D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.56:1 | Pass | Pass | Pass |
| #21213D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.56:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #21213D looks to people with the most common types of color vision deficiency.
#17253eProtanopia
no red cones#16233cDeuteranopia
no green cones#19272cTritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #21213d; }
.text { color: #21213d; }
.border { border: 2px solid #21213d; }
.transparent { background-color: rgb(33 33 61 / 50%); }
.gradient { background: linear-gradient(to right, #21213d, #2f213d); }
Similar colors
#222244Black Market#161d3bNightwalker#2a2243Midnight Velvet#151931Dark Knight#2c2e47Midnight Masquerade#1f2133Eclipse Elixir#161e34Sombre Night#21263aMidnight Express
Closest common color name: Oxford Blue.
Questions
- What color is #21213D?
- #21213D is a very dark, desaturated blue, closest to the named color Black Market. It belongs to the blue family of colors.
- What is the RGB value of #21213D?
- The RGB value is 33, 33, 61: 33 red, 33 green and 61 blue on a 0 to 255 scale.
- What is the complementary color of #21213D?
- The complementary color is #3D3D21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21213D?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.56:1. WCAG asks for at least 4.5:1 for normal text.