#21233C color
The hex color #21233C is a very dark, desaturated blue.
In the RGB color model it is made of 12.9% red, 13.7% green and 23.5% blue (33, 35, 60).
Its hue angle is 236°, with 29% saturation and 18% lightness. For print, the CMYK equivalent is 45% cyan, 42% magenta, 0% yellow and 76% black.
The closest named color is Nightwalker (#161D3B), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.32:1).
#21233C color codes
| HEX | #21233C | |
|---|---|---|
| RGB | rgb(33, 35, 60) | |
| RGB percent | rgb(12.9%, 13.7%, 23.5%) | |
| HSL | hsl(236, 29%, 18%) | |
| HSV / HSB | hsv(236, 45%, 24%) | |
| CMYK | cmyk(45%, 42%, 0%, 76%) | |
| CIE LAB | lab(14.69, 6.76, -16.36) | |
| CIE LCH | lch(14.69, 17.7, 292.45) | |
| CIE XYZ | xyz(2.044, 1.852, 4.524) | |
| Decimal | 2171708 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21233C, 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 #21233C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.32:1 | Pass | Pass | Pass |
| #21233C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.32:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #21233C looks to people with the most common types of color vision deficiency.
#1b263dProtanopia
no red cones#19243bDeuteranopia
no green cones#19282cTritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #21233c; }
.text { color: #21233c; }
.border { border: 2px solid #21233c; }
.transparent { background-color: rgb(33 35 60 / 50%); }
.gradient { background: linear-gradient(to right, #21233c, #2d213c); }
Similar colors
#161d3bNightwalker#21263aMidnight Express#1f2133Eclipse Elixir#151931Dark Knight#2c2e47Midnight Masquerade#222233Black Velvet#222244Black Market#161e34Sombre Night
Closest common color name: Oxford Blue.
Questions
- What color is #21233C?
- #21233C is a very dark, desaturated blue, closest to the named color Nightwalker. It belongs to the blue family of colors.
- What is the RGB value of #21233C?
- The RGB value is 33, 35, 60: 33 red, 35 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #21233C?
- The complementary color is #3C3A21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21233C?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.32:1. WCAG asks for at least 4.5:1 for normal text.