#021D39 color
The hex color #021D39 is a very dark, vivid azure.
In the RGB color model it is made of 0.8% red, 11.4% green and 22.4% blue (2, 29, 57).
Its hue angle is 211°, with 93% saturation and 12% lightness. For print, the CMYK equivalent is 96% cyan, 49% magenta, 0% yellow and 78% black.
The closest named color is Naval Night (#011C39), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.97:1).
#021D39 color codes
| HEX | #021D39 | |
|---|---|---|
| RGB | rgb(2, 29, 57) | |
| RGB percent | rgb(0.8%, 11.4%, 22.4%) | |
| HSL | hsl(211, 93%, 12%) | |
| HSV / HSB | hsv(211, 96%, 22%) | |
| CMYK | cmyk(96%, 49%, 0%, 78%) | |
| CIE LAB | lab(10.46, 2.46, -21.06) | |
| CIE LCH | lch(10.46, 21.21, 276.66) | |
| CIE XYZ | xyz(1.203, 1.187, 4.036) | |
| Decimal | 138553 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #021D39, 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 #021D39 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.97:1 | Pass | Pass | Pass |
| #021D39 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.97:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #021D39 looks to people with the most common types of color vision deficiency.
#0f1f3aProtanopia
no red cones#051a38Deuteranopia
no green cones#002428Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #021d39; }
.text { color: #021d39; }
.border { border: 2px solid #021d39; }
.transparent { background-color: rgb(2 29 57 / 50%); }
.gradient { background: linear-gradient(to right, #021d39, #020239); }
Similar colors
#011c39Naval Night#001f3fMidnight Mirage#0e1d32Trapped Darkness#002147Oxford Blue#112244Dark Eclipse#041330Squid’s Ink#161e34Sombre Night#1c2841Eternal Darkness
Questions
- What color is #021D39?
- #021D39 is a very dark, vivid azure, closest to the named color Naval Night. It belongs to the black family of colors.
- What is the RGB value of #021D39?
- The RGB value is 2, 29, 57: 2 red, 29 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #021D39?
- The complementary color is #391E02, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #021D39?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.97:1. WCAG asks for at least 4.5:1 for normal text.