#040803 color
The hex color #040803 is a black.
In the RGB color model it is made of 1.6% red, 3.1% green and 1.2% blue (4, 8, 3).
Its hue angle is 108°, with 45% saturation and 2% lightness. For print, the CMYK equivalent is 50% cyan, 0% magenta, 63% yellow and 97% black.
The closest named color is Glimpse Into Space (#121210), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.17:1).
#040803 color codes
| HEX | #040803 | |
|---|---|---|
| RGB | rgb(4, 8, 3) | |
| RGB percent | rgb(1.6%, 3.1%, 1.2%) | |
| HSL | hsl(108, 45%, 2%) | |
| HSV / HSB | hsv(108, 63%, 3%) | |
| CMYK | cmyk(50%, 0%, 63%, 97%) | |
| CIE LAB | lab(1.86, -1.74, 1.52) | |
| CIE LCH | lch(1.86, 2.31, 138.81) | |
| CIE XYZ | xyz(0.153, 0.206, 0.118) | |
| Decimal | 264195 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #040803, 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 #040803 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.17:1 | Pass | Pass | Pass |
| #040803 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.17:1 | Pass | Pass | Pass |
| Sample text | 1.04: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 #040803 looks to people with the most common types of color vision deficiency.
#080703Protanopia
no red cones#080703Deuteranopia
no green cones#040806Tritanopia
no blue cones#070707Achromatopsia
no color vision
CSS examples
.background { background-color: #040803; }
.text { color: #040803; }
.border { border: 2px solid #040803; }
.transparent { background-color: rgb(4 8 3 / 50%); }
.gradient { background: linear-gradient(to right, #040803, #030804); }
Similar colors
#121210Glimpse Into Space#060606Black Metal#0b0b0bRaven#12110eSinister#050301Raven Black#0c0c0cBlack Wash#000000Black#010203Black Hole
Questions
- What color is #040803?
- #040803 is a black, closest to the named color Glimpse Into Space. It belongs to the black family of colors.
- What is the RGB value of #040803?
- The RGB value is 4, 8, 3: 4 red, 8 green and 3 blue on a 0 to 255 scale.
- What is the complementary color of #040803?
- The complementary color is #070308, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #040803?
- White text. Black text has a contrast ratio of 1.04:1 and white text 20.17:1. WCAG asks for at least 4.5:1 for normal text.