#212541 color
The hex color #212541 is a very dark, desaturated blue.
In the RGB color model it is made of 12.9% red, 14.5% green and 25.5% blue (33, 37, 65).
Its hue angle is 233°, with 33% saturation and 19% lightness. For print, the CMYK equivalent is 49% cyan, 43% magenta, 0% yellow and 75% black.
The closest named color is Nightwalker (#161D3B), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.94:1).
#212541 color codes
| HEX | #212541 | |
|---|---|---|
| RGB | rgb(33, 37, 65) | |
| RGB percent | rgb(12.9%, 14.5%, 25.5%) | |
| HSL | hsl(233, 33%, 19%) | |
| HSV / HSB | hsv(233, 49%, 25%) | |
| CMYK | cmyk(49%, 43%, 0%, 75%) | |
| CIE LAB | lab(15.63, 7.06, -18.36) | |
| CIE LCH | lch(15.63, 19.67, 291.02) | |
| CIE XYZ | xyz(2.243, 2.028, 5.273) | |
| Decimal | 2172225 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212541, 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 #212541 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.94:1 | Pass | Pass | Pass |
| #212541 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.94:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #212541 looks to people with the most common types of color vision deficiency.
#1b2842Protanopia
no red cones#192640Deuteranopia
no green cones#162b2fTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #212541; }
.text { color: #212541; }
.border { border: 2px solid #212541; }
.transparent { background-color: rgb(33 37 65 / 50%); }
.gradient { background: linear-gradient(to right, #212541, #2d2141); }
Similar colors
#161d3bNightwalker#222244Black Market#2c2e47Midnight Masquerade#21263aMidnight Express#1c2841Eternal Darkness#161e34Sombre Night#151931Dark Knight#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #212541?
- #212541 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 #212541?
- The RGB value is 33, 37, 65: 33 red, 37 green and 65 blue on a 0 to 255 scale.
- What is the complementary color of #212541?
- The complementary color is #413D21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212541?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.94:1. WCAG asks for at least 4.5:1 for normal text.