#04101B color
The hex color #04101B is a very dark, moderate azure.
In the RGB color model it is made of 1.6% red, 6.3% green and 10.6% blue (4, 16, 27).
Its hue angle is 209°, with 74% saturation and 6% lightness. For print, the CMYK equivalent is 85% cyan, 41% magenta, 0% yellow and 89% 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.18:1).
#04101B color codes
| HEX | #04101B | |
|---|---|---|
| RGB | rgb(4, 16, 27) | |
| RGB percent | rgb(1.6%, 6.3%, 10.6%) | |
| HSL | hsl(209, 74%, 6%) | |
| HSV / HSB | hsv(209, 85%, 11%) | |
| CMYK | cmyk(85%, 41%, 0%, 89%) | |
| CIE LAB | lab(4.3, -0.77, -8.32) | |
| CIE LCH | lch(4.3, 8.35, 264.71) | |
| CIE XYZ | xyz(0.433, 0.475, 1.106) | |
| Decimal | 266267 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #04101B, 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 #04101B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.18:1 | Pass | Pass | Pass |
| #04101B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.18:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #04101B looks to people with the most common types of color vision deficiency.
#0b101bProtanopia
no red cones#080e1bDeuteranopia
no green cones#001314Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #04101b; }
.text { color: #04101b; }
.border { border: 2px solid #04101b; }
.transparent { background-color: rgb(4 16 27 / 50%); }
.gradient { background: linear-gradient(to right, #04101b, #04051b); }
Similar colors
#0c121bMidnight Edition#010b13Rich Black#010b13Black Knight#060b14Dark Rift#0b0c14Midnight Oil#080813Narwhal Gray#16161dEigengrau#102030The Count’s Black
Questions
- What color is #04101B?
- #04101B 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 #04101B?
- The RGB value is 4, 16, 27: 4 red, 16 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #04101B?
- The complementary color is #1B0F04, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #04101B?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.18:1. WCAG asks for at least 4.5:1 for normal text.