#020041 color
The hex color #020041 is a very dark, vivid blue.
In the RGB color model it is made of 0.8% red, 0% green and 25.5% blue (2, 0, 65).
Its hue angle is 242°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 97% cyan, 100% magenta, 0% yellow and 75% black.
The closest named color is Endless Galaxy (#000044), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.46:1).
#020041 color codes
| HEX | #020041 | |
|---|---|---|
| RGB | rgb(2, 0, 65) | |
| RGB percent | rgb(0.8%, 0%, 25.5%) | |
| HSL | hsl(242, 100%, 13%) | |
| HSV / HSB | hsv(242, 100%, 25%) | |
| CMYK | cmyk(97%, 100%, 0%, 75%) | |
| CIE LAB | lab(3.56, 24.46, -38.01) | |
| CIE LCH | lch(3.56, 45.2, 302.76) | |
| CIE XYZ | xyz(0.979, 0.394, 5.025) | |
| Decimal | 131137 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #020041, 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 #020041 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.46:1 | Pass | Pass | Pass |
| #020041 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.46: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 #020041 looks to people with the most common types of color vision deficiency.
#001043Protanopia
no red cones#000940Deuteranopia
no green cones#001522Tritanopia
no blue cones#0d0d0dAchromatopsia
no color vision
CSS examples
.background { background-color: #020041; }
.text { color: #020041; }
.border { border: 2px solid #020041; }
.transparent { background-color: rgb(2 0 65 / 50%); }
.gradient { background: linear-gradient(to right, #020041, #220041); }
Similar colors
#000044Endless Galaxy#000b44Storm#0f084bSilent Twilight#111144Deadly Depths#0a0555Ravenclaw#001155Interstellar Blue#000435Oblivion#160435Quiet Abyss
Closest common color name: Midnight Blue.
Questions
- What color is #020041?
- #020041 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 #020041?
- The RGB value is 2, 0, 65: 2 red, 0 green and 65 blue on a 0 to 255 scale.
- What is the complementary color of #020041?
- The complementary color is #3F4100, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #020041?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.46:1. WCAG asks for at least 4.5:1 for normal text.