#020071 color
The hex color #020071 is a dark, vivid blue.
In the RGB color model it is made of 0.8% red, 0% green and 44.3% blue (2, 0, 113).
Its hue angle is 241°, with 100% saturation and 22% lightness. For print, the CMYK equivalent is 98% cyan, 100% magenta, 0% yellow and 56% black.
The closest named color is Deep Blue (#040273), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.92:1).
#020071 color codes
| HEX | #020071 | |
|---|---|---|
| RGB | rgb(2, 0, 113) | |
| RGB percent | rgb(0.8%, 0%, 44.3%) | |
| HSL | hsl(241, 100%, 22%) | |
| HSV / HSB | hsv(241, 100%, 44%) | |
| CMYK | cmyk(98%, 100%, 0%, 56%) | |
| CIE LAB | lab(10.59, 43.47, -59.01) | |
| CIE LCH | lch(10.59, 73.3, 306.38) | |
| CIE XYZ | xyz(3.005, 1.205, 15.694) | |
| Decimal | 131185 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #020071, 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 #020071 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.92:1 | Pass | Pass | Pass |
| #020071 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.92: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 #020071 looks to people with the most common types of color vision deficiency.
#002374Protanopia
no red cones#00166fDeuteranopia
no green cones#002b3fTritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #020071; }
.text { color: #020071; }
.border { border: 2px solid #020071; }
.transparent { background-color: rgb(2 0 113 / 50%); }
.gradient { background: linear-gradient(to right, #020071, #3b0071); }
Similar colors
#040273Deep Blue#110077Insomniac Blue#000066Alone in the Dark#110066The Vast of Night#000080Navy Blue#000080Navy#220077Child of the Night#220066Blackmail
Questions
- What color is #020071?
- #020071 is a dark, vivid blue, closest to the named color Deep Blue. It belongs to the black family of colors.
- What is the RGB value of #020071?
- The RGB value is 2, 0, 113: 2 red, 0 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #020071?
- The complementary color is #6F7100, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #020071?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.92:1. WCAG asks for at least 4.5:1 for normal text.