#021A3A color
The hex color #021A3A is a very dark, vivid azure.
In the RGB color model it is made of 0.8% red, 10.2% green and 22.7% blue (2, 26, 58).
Its hue angle is 214°, with 93% saturation and 12% lightness. For print, the CMYK equivalent is 97% cyan, 55% magenta, 0% yellow and 77% black.
The closest named color is Naval Night (#011C39), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.33:1).
#021A3A color codes
| HEX | #021A3A | |
|---|---|---|
| RGB | rgb(2, 26, 58) | |
| RGB percent | rgb(0.8%, 10.2%, 22.7%) | |
| HSL | hsl(214, 93%, 12%) | |
| HSV / HSB | hsv(214, 97%, 23%) | |
| CMYK | cmyk(97%, 55%, 0%, 77%) | |
| CIE LAB | lab(9.46, 5.32, -23.39) | |
| CIE LCH | lch(9.46, 23.98, 282.8) | |
| CIE XYZ | xyz(1.158, 1.057, 4.145) | |
| Decimal | 137786 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #021A3A, 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 #021A3A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.33:1 | Pass | Pass | Pass |
| #021A3A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.33:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #021A3A looks to people with the most common types of color vision deficiency.
#081d3bProtanopia
no red cones#001839Deuteranopia
no green cones#002227Tritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #021a3a; }
.text { color: #021a3a; }
.border { border: 2px solid #021a3a; }
.transparent { background-color: rgb(2 26 58 / 50%); }
.gradient { background: linear-gradient(to right, #021a3a, #06023a); }
Similar colors
#011c39Naval Night#001f3fMidnight Mirage#041330Squid’s Ink#112244Dark Eclipse#002147Oxford Blue#161d3bNightwalker#0e1d32Trapped Darkness#161e34Sombre Night
Questions
- What color is #021A3A?
- #021A3A 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 #021A3A?
- The RGB value is 2, 26, 58: 2 red, 26 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #021A3A?
- The complementary color is #3A2202, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #021A3A?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.33:1. WCAG asks for at least 4.5:1 for normal text.