#212333 color
The hex color #212333 is a very dark, grayish blue.
In the RGB color model it is made of 12.9% red, 13.7% green and 20% blue (33, 35, 51).
Its hue angle is 233°, with 21% saturation and 16% lightness. For print, the CMYK equivalent is 35% cyan, 31% magenta, 0% yellow and 80% black.
The closest named color is Eclipse Elixir (#1F2133), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.52:1).
#212333 color codes
| HEX | #212333 | |
|---|---|---|
| RGB | rgb(33, 35, 51) | |
| RGB percent | rgb(12.9%, 13.7%, 20%) | |
| HSL | hsl(233, 21%, 16%) | |
| HSV / HSB | hsv(233, 35%, 20%) | |
| CMYK | cmyk(35%, 31%, 0%, 80%) | |
| CIE LAB | lab(14.2, 3.74, -10.76) | |
| CIE LCH | lch(14.2, 11.39, 289.15) | |
| CIE XYZ | xyz(1.826, 1.764, 3.376) | |
| Decimal | 2171699 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212333, 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 #212333 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.52:1 | Pass | Pass | Pass |
| #212333 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.52: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 #212333 looks to people with the most common types of color vision deficiency.
#1e2534Protanopia
no red cones#1d2333Deuteranopia
no green cones#1c2629Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #212333; }
.text { color: #212333; }
.border { border: 2px solid #212333; }
.transparent { background-color: rgb(33 35 51 / 50%); }
.gradient { background: linear-gradient(to right, #212333, #282133); }
Similar colors
#1f2133Eclipse Elixir#222233Black Velvet#21263aMidnight Express#1e2433Moonless Mystery#161e34Sombre Night#2c2a35Haiti#1b2431Dark#1c2841Eternal Darkness
Closest common color name: Oxford Blue.
Questions
- What color is #212333?
- #212333 is a very dark, grayish blue, closest to the named color Eclipse Elixir. It belongs to the black family of colors.
- What is the RGB value of #212333?
- The RGB value is 33, 35, 51: 33 red, 35 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #212333?
- The complementary color is #333121, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212333?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.52:1. WCAG asks for at least 4.5:1 for normal text.