#213542 color
The hex color #213542 is a very dark, desaturated azure.
In the RGB color model it is made of 12.9% red, 20.8% green and 25.9% blue (33, 53, 66).
Its hue angle is 204°, with 33% saturation and 19% lightness. For print, the CMYK equivalent is 50% cyan, 20% magenta, 0% yellow and 74% black.
The closest named color is Blue Whale (#1E3442), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.71:1).
#213542 color codes
| HEX | #213542 | |
|---|---|---|
| RGB | rgb(33, 53, 66) | |
| RGB percent | rgb(12.9%, 20.8%, 25.9%) | |
| HSL | hsl(204, 33%, 19%) | |
| HSV / HSB | hsv(204, 50%, 26%) | |
| CMYK | cmyk(50%, 20%, 0%, 74%) | |
| CIE LAB | lab(21.07, -3.83, -10.61) | |
| CIE LCH | lch(21.07, 11.28, 250.14) | |
| CIE XYZ | xyz(2.883, 3.263, 5.631) | |
| Decimal | 2176322 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #213542, 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 #213542 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.71:1 | Pass | Pass | Pass |
| #213542 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.71:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #213542 looks to people with the most common types of color vision deficiency.
#2f3543Protanopia
no red cones#2b3142Deuteranopia
no green cones#133839Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #213542; }
.text { color: #213542; }
.border { border: 2px solid #213542; }
.transparent { background-color: rgb(33 53 66 / 50%); }
.gradient { background: linear-gradient(to right, #213542, #212542); }
Similar colors
#1e3442Blue Whale#243640Petrol Slumber#1e3642Into the Night#203943Astral Nomad#172b36Oceanic Noir#253f4eDepths of the Nile#2a3439Gunmetal#303a40Tempest in a Teapot
Questions
- What color is #213542?
- #213542 is a very dark, desaturated azure, closest to the named color Blue Whale. It belongs to the gray family of colors.
- What is the RGB value of #213542?
- The RGB value is 33, 53, 66: 33 red, 53 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #213542?
- The complementary color is #422E21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #213542?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.71:1. WCAG asks for at least 4.5:1 for normal text.