#021C39 color
The hex color #021C39 is a very dark, vivid azure.
In the RGB color model it is made of 0.8% red, 11% green and 22.4% blue (2, 28, 57).
Its hue angle is 212°, with 93% saturation and 12% lightness. For print, the CMYK equivalent is 96% cyan, 51% magenta, 0% yellow and 78% black.
The closest named color is Naval Night (#011C39), a difference of 0.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.1:1).
#021C39 color codes
| HEX | #021C39 | |
|---|---|---|
| RGB | rgb(2, 28, 57) | |
| RGB percent | rgb(0.8%, 11%, 22.4%) | |
| HSL | hsl(212, 93%, 12%) | |
| HSV / HSB | hsv(212, 96%, 22%) | |
| CMYK | cmyk(96%, 51%, 0%, 78%) | |
| CIE LAB | lab(10.1, 3.24, -21.64) | |
| CIE LCH | lch(10.1, 21.89, 278.52) | |
| CIE XYZ | xyz(1.179, 1.139, 4.028) | |
| Decimal | 138297 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #021C39, 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 #021C39 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.1:1 | Pass | Pass | Pass |
| #021C39 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.1:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #021C39 looks to people with the most common types of color vision deficiency.
#0d1e3aProtanopia
no red cones#031938Deuteranopia
no green cones#002327Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #021c39; }
.text { color: #021c39; }
.border { border: 2px solid #021c39; }
.transparent { background-color: rgb(2 28 57 / 50%); }
.gradient { background: linear-gradient(to right, #021c39, #040239); }
Similar colors
#011c39Naval Night#001f3fMidnight Mirage#002147Oxford Blue#0e1d32Trapped Darkness#112244Dark Eclipse#041330Squid’s Ink#161e34Sombre Night#1c2841Eternal Darkness
Questions
- What color is #021C39?
- #021C39 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 #021C39?
- The RGB value is 2, 28, 57: 2 red, 28 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #021C39?
- The complementary color is #391F02, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #021C39?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.1:1. WCAG asks for at least 4.5:1 for normal text.