#04090C color
The hex color #04090C is a black.
In the RGB color model it is made of 1.6% red, 3.5% green and 4.7% blue (4, 9, 12).
Its hue angle is 203°, with 50% saturation and 3% lightness. For print, the CMYK equivalent is 67% cyan, 25% magenta, 0% yellow and 95% black.
The closest named color is Eight Ball (#03050A), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.01:1).
#04090C color codes
| HEX | #04090C | |
|---|---|---|
| RGB | rgb(4, 9, 12) | |
| RGB percent | rgb(1.6%, 3.5%, 4.7%) | |
| HSL | hsl(203, 50%, 3%) | |
| HSV / HSB | hsv(203, 67%, 5%) | |
| CMYK | cmyk(67%, 25%, 0%, 95%) | |
| CIE LAB | lab(2.24, -0.87, -1.64) | |
| CIE LCH | lch(2.24, 1.86, 241.91) | |
| CIE XYZ | xyz(0.214, 0.248, 0.384) | |
| Decimal | 264460 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #04090C, 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 #04090C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 20.01:1 | Pass | Pass | Pass |
| #04090C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.01:1 | Pass | Pass | Pass |
| Sample text | 1.05: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 #04090C looks to people with the most common types of color vision deficiency.
#08090cProtanopia
no red cones#06080cDeuteranopia
no green cones#020a0aTritanopia
no blue cones#080808Achromatopsia
no color vision
CSS examples
.background { background-color: #04090c; }
.text { color: #04090c; }
.border { border: 2px solid #04090c; }
.transparent { background-color: rgb(4 9 12 / 50%); }
.gradient { background: linear-gradient(to right, #04090c, #04050c); }
Similar colors
#03050aEight Ball#010203Black Hole#0f1012Ruined Smores#0b0c10Midnight Black#060606Black Metal#0b0b0bRaven#0c0c0cBlack Wash#0f0f0fOff Black
Questions
- What color is #04090C?
- #04090C is a black, closest to the named color Eight Ball. It belongs to the black family of colors.
- What is the RGB value of #04090C?
- The RGB value is 4, 9, 12: 4 red, 9 green and 12 blue on a 0 to 255 scale.
- What is the complementary color of #04090C?
- The complementary color is #0C0704, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #04090C?
- White text. Black text has a contrast ratio of 1.05:1 and white text 20.01:1. WCAG asks for at least 4.5:1 for normal text.