#212233 color
The hex color #212233 is a very dark, grayish blue.
In the RGB color model it is made of 12.9% red, 13.3% green and 20% blue (33, 34, 51).
Its hue angle is 237°, with 21% saturation and 16% lightness. For print, the CMYK equivalent is 35% cyan, 33% magenta, 0% yellow and 80% black.
The closest named color is Black Velvet (#222233), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.66:1).
#212233 color codes
| HEX | #212233 | |
|---|---|---|
| RGB | rgb(33, 34, 51) | |
| RGB percent | rgb(12.9%, 13.3%, 20%) | |
| HSL | hsl(237, 21%, 16%) | |
| HSV / HSB | hsv(237, 35%, 20%) | |
| CMYK | cmyk(35%, 33%, 0%, 80%) | |
| CIE LAB | lab(13.86, 4.47, -11.28) | |
| CIE LCH | lch(13.86, 12.13, 291.6) | |
| CIE XYZ | xyz(1.797, 1.706, 3.366) | |
| Decimal | 2171443 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212233, 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 #212233 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.66:1 | Pass | Pass | Pass |
| #212233 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.66:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #212233 looks to people with the most common types of color vision deficiency.
#1d2434Protanopia
no red cones#1c2333Deuteranopia
no green cones#1d2528Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #212233; }
.text { color: #212233; }
.border { border: 2px solid #212233; }
.transparent { background-color: rgb(33 34 51 / 50%); }
.gradient { background: linear-gradient(to right, #212233, #292133); }
Similar colors
#222233Black Velvet#1f2133Eclipse Elixir#21263aMidnight Express#1e2433Moonless Mystery#161e34Sombre Night#2c2a35Haiti#151931Dark Knight#2c2e47Midnight Masquerade
Closest common color name: Oxford Blue.
Questions
- What color is #212233?
- #212233 is a very dark, grayish blue, closest to the named color Black Velvet. It belongs to the gray family of colors.
- What is the RGB value of #212233?
- The RGB value is 33, 34, 51: 33 red, 34 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #212233?
- The complementary color is #333221, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212233?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.66:1. WCAG asks for at least 4.5:1 for normal text.