#02013E color
The hex color #02013E is a very dark, vivid blue.
In the RGB color model it is made of 0.8% red, 0.4% green and 24.3% blue (2, 1, 62).
Its hue angle is 241°, with 97% saturation and 12% lightness. For print, the CMYK equivalent is 97% cyan, 98% magenta, 0% yellow and 76% black.
The closest named color is Endless Galaxy (#000044), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.51:1).
#02013E color codes
| HEX | #02013E | |
|---|---|---|
| RGB | rgb(2, 1, 62) | |
| RGB percent | rgb(0.8%, 0.4%, 24.3%) | |
| HSL | hsl(241, 97%, 12%) | |
| HSV / HSB | hsv(241, 98%, 24%) | |
| CMYK | cmyk(97%, 98%, 0%, 76%) | |
| CIE LAB | lab(3.45, 22.13, -36.03) | |
| CIE LCH | lch(3.45, 42.28, 301.56) | |
| CIE XYZ | xyz(0.905, 0.382, 4.583) | |
| Decimal | 131390 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #02013E, 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 #02013E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.51:1 | Pass | Pass | Pass |
| #02013E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.51:1 | Pass | Pass | Pass |
| Sample text | 1.08: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 #02013E looks to people with the most common types of color vision deficiency.
#001040Protanopia
no red cones#00093dDeuteranopia
no green cones#001521Tritanopia
no blue cones#0c0c0cAchromatopsia
no color vision
CSS examples
.background { background-color: #02013e; }
.text { color: #02013e; }
.border { border: 2px solid #02013e; }
.transparent { background-color: rgb(2 1 62 / 50%); }
.gradient { background: linear-gradient(to right, #02013e, #20013e); }
Similar colors
#000044Endless Galaxy#000b44Storm#0f084bSilent Twilight#000435Oblivion#111144Deadly Depths#001155Interstellar Blue#160435Quiet Abyss#0a0555Ravenclaw
Closest common color name: Midnight Blue.
Questions
- What color is #02013E?
- #02013E is a very dark, vivid blue, closest to the named color Endless Galaxy. It belongs to the black family of colors.
- What is the RGB value of #02013E?
- The RGB value is 2, 1, 62: 2 red, 1 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #02013E?
- The complementary color is #3D3E01, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #02013E?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.51:1. WCAG asks for at least 4.5:1 for normal text.