#021531 color
The hex color #021531 is a very dark, vivid azure.
In the RGB color model it is made of 0.8% red, 8.2% green and 19.2% blue (2, 21, 49).
Its hue angle is 216°, with 92% saturation and 10% lightness. For print, the CMYK equivalent is 96% cyan, 57% magenta, 0% yellow and 81% black.
The closest named color is Squid’s Ink (#041330), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.19:1).
#021531 color codes
| HEX | #021531 | |
|---|---|---|
| RGB | rgb(2, 21, 49) | |
| RGB percent | rgb(0.8%, 8.2%, 19.2%) | |
| HSL | hsl(216, 92%, 10%) | |
| HSV / HSB | hsv(216, 96%, 19%) | |
| CMYK | cmyk(96%, 57%, 0%, 81%) | |
| CIE LAB | lab(6.96, 4.7, -20.88) | |
| CIE LCH | lch(6.96, 21.4, 282.68) | |
| CIE XYZ | xyz(0.847, 0.771, 3.009) | |
| Decimal | 136497 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #021531, 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 #021531 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.15:1 | Fail | Fail | Fail |
| Sample text | 18.19:1 | Pass | Pass | Pass |
| #021531 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.19:1 | Pass | Pass | Pass |
| Sample text | 1.15: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 #021531 looks to people with the most common types of color vision deficiency.
#061832Protanopia
no red cones#001330Deuteranopia
no green cones#001c20Tritanopia
no blue cones#151515Achromatopsia
no color vision
CSS examples
.background { background-color: #021531; }
.text { color: #021531; }
.border { border: 2px solid #021531; }
.transparent { background-color: rgb(2 21 49 / 50%); }
.gradient { background: linear-gradient(to right, #021531, #060231); }
Similar colors
#041330Squid’s Ink#011c39Naval Night#050d25Void#001f3fMidnight Mirage#0e1d32Trapped Darkness#060929Mysterious Depths#161d3bNightwalker#161e34Sombre Night
Closest common color name: Oxford Blue.
Questions
- What color is #021531?
- #021531 is a very dark, vivid azure, closest to the named color Squid’s Ink. It belongs to the black family of colors.
- What is the RGB value of #021531?
- The RGB value is 2, 21, 49: 2 red, 21 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #021531?
- The complementary color is #311E02, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #021531?
- White text. Black text has a contrast ratio of 1.15:1 and white text 18.19:1. WCAG asks for at least 4.5:1 for normal text.