#021A34 color
The hex color #021A34 is a very dark, vivid azure.
In the RGB color model it is made of 0.8% red, 10.2% green and 20.4% blue (2, 26, 52).
Its hue angle is 211°, with 93% saturation and 11% lightness. For print, the CMYK equivalent is 96% cyan, 50% magenta, 0% yellow and 80% black.
The closest named color is Naval Night (#011C39), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.5:1).
#021A34 color codes
| HEX | #021A34 | |
|---|---|---|
| RGB | rgb(2, 26, 52) | |
| RGB percent | rgb(0.8%, 10.2%, 20.4%) | |
| HSL | hsl(211, 93%, 11%) | |
| HSV / HSB | hsv(211, 96%, 20%) | |
| CMYK | cmyk(96%, 50%, 0%, 80%) | |
| CIE LAB | lab(8.99, 2.37, -19.82) | |
| CIE LCH | lch(8.99, 19.96, 276.81) | |
| CIE XYZ | xyz(1.014, 0.999, 3.388) | |
| Decimal | 137780 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #021A34, 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 #021A34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.5:1 | Pass | Pass | Pass |
| #021A34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.5:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #021A34 looks to people with the most common types of color vision deficiency.
#0d1c35Protanopia
no red cones#041733Deuteranopia
no green cones#002024Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #021a34; }
.text { color: #021a34; }
.border { border: 2px solid #021a34; }
.transparent { background-color: rgb(2 26 52 / 50%); }
.gradient { background: linear-gradient(to right, #021a34, #030234); }
Similar colors
#011c39Naval Night#001f3fMidnight Mirage#0e1d32Trapped Darkness#041330Squid’s Ink#002147Oxford Blue#161e34Sombre Night#112244Dark Eclipse#001b2eOxford by Night
Questions
- What color is #021A34?
- #021A34 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 #021A34?
- The RGB value is 2, 26, 52: 2 red, 26 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #021A34?
- The complementary color is #341C02, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #021A34?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.5:1. WCAG asks for at least 4.5:1 for normal text.