#040914 color
The hex color #040914 is a very dark, moderate blue.
In the RGB color model it is made of 1.6% red, 3.5% green and 7.8% blue (4, 9, 20).
Its hue angle is 221°, with 67% saturation and 5% lightness. For print, the CMYK equivalent is 80% cyan, 55% magenta, 0% yellow and 92% black.
The closest named color is Dark Rift (#060B14), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.92:1).
#040914 color codes
| HEX | #040914 | |
|---|---|---|
| RGB | rgb(4, 9, 20) | |
| RGB percent | rgb(1.6%, 3.5%, 7.8%) | |
| HSL | hsl(221, 67%, 5%) | |
| HSV / HSB | hsv(221, 80%, 8%) | |
| CMYK | cmyk(80%, 55%, 0%, 92%) | |
| CIE LAB | lab(2.45, 0.65, -5.78) | |
| CIE LCH | lch(2.45, 5.81, 276.38) | |
| CIE XYZ | xyz(0.274, 0.272, 0.7) | |
| Decimal | 264468 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #040914, 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 #040914 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 19.92:1 | Pass | Pass | Pass |
| #040914 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.92: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 #040914 looks to people with the most common types of color vision deficiency.
#050a14Protanopia
no red cones#040814Deuteranopia
no green cones#000b0dTritanopia
no blue cones#090909Achromatopsia
no color vision
CSS examples
.background { background-color: #040914; }
.text { color: #040914; }
.border { border: 2px solid #040914; }
.transparent { background-color: rgb(4 9 20 / 50%); }
.gradient { background: linear-gradient(to right, #040914, #070414); }
Similar colors
#060b14Dark Rift#0b0c14Midnight Oil#080813Narwhal Gray#0c121bMidnight Edition#010b13Rich Black#010b13Black Knight#03050aEight Ball#0b0c10Midnight Black
Questions
- What color is #040914?
- #040914 is a very dark, moderate blue, closest to the named color Dark Rift. It belongs to the black family of colors.
- What is the RGB value of #040914?
- The RGB value is 4, 9, 20: 4 red, 9 green and 20 blue on a 0 to 255 scale.
- What is the complementary color of #040914?
- The complementary color is #140F04, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #040914?
- White text. Black text has a contrast ratio of 1.05:1 and white text 19.92:1. WCAG asks for at least 4.5:1 for normal text.