#040019 color
The hex color #040019 is a very dark, vivid blue.
In the RGB color model it is made of 1.6% red, 0% green and 9.8% blue (4, 0, 25).
Its hue angle is 250°, with 100% saturation and 5% lightness. For print, the CMYK equivalent is 84% cyan, 100% magenta, 0% yellow and 90% black.
The closest named color is Corbeau (#111122), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.6:1).
#040019 color codes
| HEX | #040019 | |
|---|---|---|
| RGB | rgb(4, 0, 25) | |
| RGB percent | rgb(1.6%, 0%, 9.8%) | |
| HSL | hsl(250, 100%, 5%) | |
| HSV / HSB | hsv(250, 100%, 10%) | |
| CMYK | cmyk(84%, 100%, 0%, 90%) | |
| CIE LAB | lab(0.87, 5.5, -11.75) | |
| CIE LCH | lch(0.87, 12.98, 295.08) | |
| CIE XYZ | xyz(0.225, 0.096, 0.926) | |
| Decimal | 262169 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #040019, 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 #040019 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.02:1 | Fail | Fail | Fail |
| Sample text | 20.6:1 | Pass | Pass | Pass |
| #040019 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.6:1 | Pass | Pass | Pass |
| Sample text | 1.02: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 #040019 looks to people with the most common types of color vision deficiency.
#00041aProtanopia
no red cones#000318Deuteranopia
no green cones#00040aTritanopia
no blue cones#030303Achromatopsia
no color vision
CSS examples
.background { background-color: #040019; }
.text { color: #040019; }
.border { border: 2px solid #040019; }
.transparent { background-color: rgb(4 0 25 / 50%); }
.gradient { background: linear-gradient(to right, #040019, #110019); }
Similar colors
#111122Corbeau#060313Obsidian Shard#050d25Void#060929Mysterious Depths#110011Glossy Black#080813Narwhal Gray#151931Dark Knight#16141cBack in Black
Closest common color name: Midnight Black.
Questions
- What color is #040019?
- #040019 is a very dark, vivid blue, closest to the named color Corbeau. It belongs to the black family of colors.
- What is the RGB value of #040019?
- The RGB value is 4, 0, 25: 4 red, 0 green and 25 blue on a 0 to 255 scale.
- What is the complementary color of #040019?
- The complementary color is #151900, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #040019?
- White text. Black text has a contrast ratio of 1.02:1 and white text 20.6:1. WCAG asks for at least 4.5:1 for normal text.