#030408 color
The hex color #030408 is a black.
In the RGB color model it is made of 1.2% red, 1.6% green and 3.1% blue (3, 4, 8).
Its hue angle is 228°, with 45% saturation and 2% lightness. For print, the CMYK equivalent is 63% cyan, 50% magenta, 0% yellow and 97% black.
The closest named color is Eight Ball (#03050A), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.49:1).
#030408 color codes
| HEX | #030408 | |
|---|---|---|
| RGB | rgb(3, 4, 8) | |
| RGB percent | rgb(1.2%, 1.6%, 3.1%) | |
| HSL | hsl(228, 45%, 2%) | |
| HSV / HSB | hsv(228, 63%, 3%) | |
| CMYK | cmyk(63%, 50%, 0%, 97%) | |
| CIE LAB | lab(1.12, 0.29, -1.61) | |
| CIE LCH | lch(1.12, 1.63, 280.4) | |
| CIE XYZ | xyz(0.125, 0.124, 0.247) | |
| Decimal | 197640 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #030408, 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 #030408 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.02:1 | Fail | Fail | Fail |
| Sample text | 20.49:1 | Pass | Pass | Pass |
| #030408 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.49: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 #030408 looks to people with the most common types of color vision deficiency.
#030408Protanopia
no red cones#030408Deuteranopia
no green cones#020505Tritanopia
no blue cones#040404Achromatopsia
no color vision
CSS examples
.background { background-color: #030408; }
.text { color: #030408; }
.border { border: 2px solid #030408; }
.transparent { background-color: rgb(3 4 8 / 50%); }
.gradient { background: linear-gradient(to right, #030408, #040308); }
Similar colors
#03050aEight Ball#030205Raven’s Coat#010203Black Hole#0b0c10Midnight Black#060606Black Metal#000000Black#0b0b0bRaven#0c0c0cBlack Wash
Questions
- What color is #030408?
- #030408 is a black, closest to the named color Eight Ball. It belongs to the black family of colors.
- What is the RGB value of #030408?
- The RGB value is 3, 4, 8: 3 red, 4 green and 8 blue on a 0 to 255 scale.
- What is the complementary color of #030408?
- The complementary color is #080703, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #030408?
- White text. Black text has a contrast ratio of 1.02:1 and white text 20.49:1. WCAG asks for at least 4.5:1 for normal text.