#05010C color
The hex color #05010C is a black.
In the RGB color model it is made of 2% red, 0.4% green and 4.7% blue (5, 1, 12).
Its hue angle is 262°, with 85% saturation and 3% lightness. For print, the CMYK equivalent is 58% cyan, 92% magenta, 0% yellow and 95% black.
The closest named color is Narwhal Gray (#080813), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.67:1).
#05010C color codes
| HEX | #05010C | |
|---|---|---|
| RGB | rgb(5, 1, 12) | |
| RGB percent | rgb(2%, 0.4%, 4.7%) | |
| HSL | hsl(262, 85%, 3%) | |
| HSV / HSB | hsv(262, 92%, 5%) | |
| CMYK | cmyk(58%, 92%, 0%, 95%) | |
| CIE LAB | lab(0.73, 2.59, -3.84) | |
| CIE LCH | lch(0.73, 4.63, 304.03) | |
| CIE XYZ | xyz(0.14, 0.081, 0.356) | |
| Decimal | 327948 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #05010C, 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 #05010C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.02:1 | Fail | Fail | Fail |
| Sample text | 20.67:1 | Pass | Pass | Pass |
| #05010C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.67: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 #05010C looks to people with the most common types of color vision deficiency.
#00030cProtanopia
no red cones#00030cDeuteranopia
no green cones#040204Tritanopia
no blue cones#030303Achromatopsia
no color vision
CSS examples
.background { background-color: #05010c; }
.text { color: #05010c; }
.border { border: 2px solid #05010c; }
.transparent { background-color: rgb(5 1 12 / 50%); }
.gradient { background: linear-gradient(to right, #05010c, #0a010c); }
Similar colors
#080813Narwhal Gray#060313Obsidian Shard#0b0c14Midnight Oil#030205Raven’s Coat#03050aEight Ball#0b0c10Midnight Black#060b14Dark Rift#16141cBack in Black
Questions
- What color is #05010C?
- #05010C is a black, closest to the named color Narwhal Gray. It belongs to the black family of colors.
- What is the RGB value of #05010C?
- The RGB value is 5, 1, 12: 5 red, 1 green and 12 blue on a 0 to 255 scale.
- What is the complementary color of #05010C?
- The complementary color is #080C01, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #05010C?
- White text. Black text has a contrast ratio of 1.02:1 and white text 20.67:1. WCAG asks for at least 4.5:1 for normal text.