#05011C color
The hex color #05011C is a very dark, vivid blue.
In the RGB color model it is made of 2% red, 0.4% green and 11% blue (5, 1, 28).
Its hue angle is 249°, with 93% saturation and 6% lightness. For print, the CMYK equivalent is 82% cyan, 96% magenta, 0% yellow and 89% black.
The closest named color is Corbeau (#111122), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.44:1).
#05011C color codes
| HEX | #05011C | |
|---|---|---|
| RGB | rgb(5, 1, 28) | |
| RGB percent | rgb(2%, 0.4%, 11%) | |
| HSL | hsl(249, 93%, 6%) | |
| HSV / HSB | hsv(249, 96%, 11%) | |
| CMYK | cmyk(82%, 96%, 0%, 89%) | |
| CIE LAB | lab(1.24, 6.23, -13.63) | |
| CIE LCH | lch(1.24, 14.99, 294.55) | |
| CIE XYZ | xyz(0.283, 0.138, 1.11) | |
| Decimal | 327964 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #05011C, 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 #05011C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.03:1 | Fail | Fail | Fail |
| Sample text | 20.44:1 | Pass | Pass | Pass |
| #05011C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.44:1 | Pass | Pass | Pass |
| Sample text | 1.03: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 #05011C looks to people with the most common types of color vision deficiency.
#00051dProtanopia
no red cones#00041bDeuteranopia
no green cones#00060cTritanopia
no blue cones#050505Achromatopsia
no color vision
CSS examples
.background { background-color: #05011c; }
.text { color: #05011c; }
.border { border: 2px solid #05011c; }
.transparent { background-color: rgb(5 1 28 / 50%); }
.gradient { background: linear-gradient(to right, #05011c, #13011c); }
Similar colors
#111122Corbeau#050d25Void#060929Mysterious Depths#060313Obsidian Shard#151931Dark Knight#041330Squid’s Ink#110011Glossy Black#03012dMidnight
Closest common color name: Midnight Black.
Questions
- What color is #05011C?
- #05011C is a very dark, vivid blue, closest to the named color Corbeau. It belongs to the black family of colors.
- What is the RGB value of #05011C?
- The RGB value is 5, 1, 28: 5 red, 1 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #05011C?
- The complementary color is #181C01, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #05011C?
- White text. Black text has a contrast ratio of 1.03:1 and white text 20.44:1. WCAG asks for at least 4.5:1 for normal text.