#213138 color
The hex color #213138 is a very dark, desaturated azure.
In the RGB color model it is made of 12.9% red, 19.2% green and 22% blue (33, 49, 56).
Its hue angle is 198°, with 26% saturation and 17% lightness. For print, the CMYK equivalent is 41% cyan, 13% magenta, 0% yellow and 78% black.
The closest named color is Petrol Slumber (#243640), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.45:1).
#213138 color codes
| HEX | #213138 | |
|---|---|---|
| RGB | rgb(33, 49, 56) | |
| RGB percent | rgb(12.9%, 19.2%, 22%) | |
| HSL | hsl(198, 26%, 17%) | |
| HSV / HSB | hsv(198, 41%, 22%) | |
| CMYK | cmyk(41%, 13%, 0%, 78%) | |
| CIE LAB | lab(19.25, -4.45, -6.56) | |
| CIE LCH | lch(19.25, 7.92, 235.86) | |
| CIE XYZ | xyz(2.439, 2.805, 4.154) | |
| Decimal | 2175288 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #213138, 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 #213138 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.45:1 | Pass | Pass | Pass |
| #213138 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.45:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #213138 looks to people with the most common types of color vision deficiency.
#2d3038Protanopia
no red cones#2a2e38Deuteranopia
no green cones#193333Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #213138; }
.text { color: #213138; }
.border { border: 2px solid #213138; }
.transparent { background-color: rgb(33 49 56 / 50%); }
.gradient { background: linear-gradient(to right, #213138, #212638); }
Similar colors
#243640Petrol Slumber#2a3439Gunmetal#172b36Oceanic Noir#1e3642Into the Night#293135Nightmare Fuel#203943Astral Nomad#1e3442Blue Whale#1e272cBlack Pearl
Questions
- What color is #213138?
- #213138 is a very dark, desaturated azure, closest to the named color Petrol Slumber. It belongs to the black family of colors.
- What is the RGB value of #213138?
- The RGB value is 33, 49, 56: 33 red, 49 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #213138?
- The complementary color is #382821, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #213138?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.45:1. WCAG asks for at least 4.5:1 for normal text.