#23212C color
The hex color #23212C is a very dark, grayish violet.
In the RGB color model it is made of 13.7% red, 12.9% green and 17.3% blue (35, 33, 44).
Its hue angle is 251°, with 14% saturation and 15% lightness. For print, the CMYK equivalent is 20% cyan, 25% magenta, 0% yellow and 83% black.
The closest named color is Haiti (#2C2A35), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.84:1).
#23212C color codes
| HEX | #23212C | |
|---|---|---|
| RGB | rgb(35, 33, 44) | |
| RGB percent | rgb(13.7%, 12.9%, 17.3%) | |
| HSL | hsl(251, 14%, 15%) | |
| HSV / HSB | hsv(251, 25%, 17%) | |
| CMYK | cmyk(20%, 25%, 0%, 83%) | |
| CIE LAB | lab(13.39, 3.85, -6.97) | |
| CIE LCH | lch(13.39, 7.96, 298.91) | |
| CIE XYZ | xyz(1.692, 1.627, 2.607) | |
| Decimal | 2302252 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #23212C, 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 #23212C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.84:1 | Pass | Pass | Pass |
| #23212C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.84:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #23212C looks to people with the most common types of color vision deficiency.
#1f222cProtanopia
no red cones#1f222cDeuteranopia
no green cones#212325Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #23212c; }
.text { color: #23212c; }
.border { border: 2px solid #23212c; }
.transparent { background-color: rgb(35 33 44 / 50%); }
.gradient { background: linear-gradient(to right, #23212c, #29212c); }
Similar colors
#2c2a35Haiti#222233Black Velvet#1f2133Eclipse Elixir#27252aDarth Vader#201b20Night Demons#1a161dViolet Void#29292fJaguar#1e2433Moonless Mystery
Closest common color name: Licorice.
Questions
- What color is #23212C?
- #23212C is a very dark, grayish violet, closest to the named color Haiti. It belongs to the black family of colors.
- What is the RGB value of #23212C?
- The RGB value is 35, 33, 44: 35 red, 33 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #23212C?
- The complementary color is #2A2C21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #23212C?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.84:1. WCAG asks for at least 4.5:1 for normal text.