#04101A color
The hex color #04101A is a very dark, moderate azure.
In the RGB color model it is made of 1.6% red, 6.3% green and 10.2% blue (4, 16, 26).
Its hue angle is 207°, with 73% saturation and 6% lightness. For print, the CMYK equivalent is 85% cyan, 38% magenta, 0% yellow and 90% black.
The closest named color is Midnight Edition (#0C121B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.19:1).
#04101A color codes
| HEX | #04101A | |
|---|---|---|
| RGB | rgb(4, 16, 26) | |
| RGB percent | rgb(1.6%, 6.3%, 10.2%) | |
| HSL | hsl(207, 73%, 6%) | |
| HSV / HSB | hsv(207, 85%, 10%) | |
| CMYK | cmyk(85%, 38%, 0%, 90%) | |
| CIE LAB | lab(4.25, -1.06, -7.59) | |
| CIE LCH | lch(4.25, 7.67, 262.06) | |
| CIE XYZ | xyz(0.422, 0.471, 1.046) | |
| Decimal | 266266 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #04101A, 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 #04101A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.09:1 | Fail | Fail | Fail |
| Sample text | 19.19:1 | Pass | Pass | Pass |
| #04101A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.19:1 | Pass | Pass | Pass |
| Sample text | 1.09: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 #04101A looks to people with the most common types of color vision deficiency.
#0c101aProtanopia
no red cones#080e1aDeuteranopia
no green cones#001213Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #04101a; }
.text { color: #04101a; }
.border { border: 2px solid #04101a; }
.transparent { background-color: rgb(4 16 26 / 50%); }
.gradient { background: linear-gradient(to right, #04101a, #04051a); }
Similar colors
#0c121bMidnight Edition#010b13Rich Black#010b13Black Knight#060b14Dark Rift#0b0c14Midnight Oil#080813Narwhal Gray#0b0c10Midnight Black#03050aEight Ball
Questions
- What color is #04101A?
- #04101A is a very dark, moderate azure, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #04101A?
- The RGB value is 4, 16, 26: 4 red, 16 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #04101A?
- The complementary color is #1A0E04, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #04101A?
- White text. Black text has a contrast ratio of 1.09:1 and white text 19.19:1. WCAG asks for at least 4.5:1 for normal text.