#221D37 color
The hex color #221D37 is a very dark, desaturated violet.
In the RGB color model it is made of 13.3% red, 11.4% green and 21.6% blue (34, 29, 55).
Its hue angle is 252°, with 31% saturation and 16% lightness. For print, the CMYK equivalent is 38% cyan, 47% magenta, 0% yellow and 78% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.17:1).
#221D37 color codes
| HEX | #221D37 | |
|---|---|---|
| RGB | rgb(34, 29, 55) | |
| RGB percent | rgb(13.3%, 11.4%, 21.6%) | |
| HSL | hsl(252, 31%, 16%) | |
| HSV / HSB | hsv(252, 47%, 22%) | |
| CMYK | cmyk(38%, 47%, 0%, 78%) | |
| CIE LAB | lab(12.57, 9.83, -16.14) | |
| CIE LCH | lch(12.57, 18.9, 301.34) | |
| CIE XYZ | xyz(1.788, 1.495, 3.808) | |
| Decimal | 2235703 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221D37, 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 #221D37 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.17:1 | Pass | Pass | Pass |
| #221D37 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.17:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #221D37 looks to people with the most common types of color vision deficiency.
#152138Protanopia
no red cones#152036Deuteranopia
no green cones#1d2227Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #221d37; }
.text { color: #221d37; }
.border { border: 2px solid #221d37; }
.transparent { background-color: rgb(34 29 55 / 50%); }
.gradient { background: linear-gradient(to right, #221d37, #2f1d37); }
Similar colors
#2a2243Midnight Velvet#222244Black Market#151931Dark Knight#161d3bNightwalker#222233Black Velvet#1f2133Eclipse Elixir#1c0f33Midnight Monarch#2c2e47Midnight Masquerade
Closest common color name: Dark Purple.
Questions
- What color is #221D37?
- #221D37 is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the blue family of colors.
- What is the RGB value of #221D37?
- The RGB value is 34, 29, 55: 34 red, 29 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #221D37?
- The complementary color is #32371D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221D37?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.17:1. WCAG asks for at least 4.5:1 for normal text.