#213845 color
The hex color #213845 is a dark, desaturated azure.
In the RGB color model it is made of 12.9% red, 22% green and 27.1% blue (33, 56, 69).
Its hue angle is 202°, with 35% saturation and 20% lightness. For print, the CMYK equivalent is 52% cyan, 19% magenta, 0% yellow and 73% black.
The closest named color is Into the Night (#1E3642), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.24:1).
#213845 color codes
| HEX | #213845 | |
|---|---|---|
| RGB | rgb(33, 56, 69) | |
| RGB percent | rgb(12.9%, 22%, 27.1%) | |
| HSL | hsl(202, 35%, 20%) | |
| HSV / HSB | hsv(202, 52%, 27%) | |
| CMYK | cmyk(52%, 19%, 0%, 73%) | |
| CIE LAB | lab(22.24, -4.8, -10.84) | |
| CIE LCH | lch(22.24, 11.85, 246.13) | |
| CIE XYZ | xyz(3.115, 3.581, 6.156) | |
| Decimal | 2177093 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #213845, 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 #213845 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.24:1 | Pass | Pass | Pass |
| #213845 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.24:1 | Pass | Pass | Pass |
| Sample text | 1.72: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 #213845 looks to people with the most common types of color vision deficiency.
#323746Protanopia
no red cones#2d3345Deuteranopia
no green cones#113b3cTritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #213845; }
.text { color: #213845; }
.border { border: 2px solid #213845; }
.transparent { background-color: rgb(33 56 69 / 50%); }
.gradient { background: linear-gradient(to right, #213845, #212645); }
Similar colors
#1e3642Into the Night#1e3442Blue Whale#243640Petrol Slumber#203943Astral Nomad#253f4eDepths of the Nile#172b36Oceanic Noir#003344Nordic Noir#1a4157Capital Blue
Closest common color name: Gunmetal.
Questions
- What color is #213845?
- #213845 is a dark, desaturated azure, closest to the named color Into the Night. It belongs to the gray family of colors.
- What is the RGB value of #213845?
- The RGB value is 33, 56, 69: 33 red, 56 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #213845?
- The complementary color is #452E21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #213845?
- White text. Black text has a contrast ratio of 1.72:1 and white text 12.24:1. WCAG asks for at least 4.5:1 for normal text.