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