#05101E color
The hex color #05101E is a very dark, moderate azure.
In the RGB color model it is made of 2% red, 6.3% green and 11.8% blue (5, 16, 30).
Its hue angle is 214°, with 71% saturation and 7% lightness. For print, the CMYK equivalent is 83% cyan, 47% magenta, 0% yellow and 88% black.
The closest named color is Midnight Edition (#0C121B), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.1:1).
#05101E color codes
| HEX | #05101E | |
|---|---|---|
| RGB | rgb(5, 16, 30) | |
| RGB percent | rgb(2%, 6.3%, 11.8%) | |
| HSL | hsl(214, 71%, 7%) | |
| HSV / HSB | hsv(214, 83%, 12%) | |
| CMYK | cmyk(83%, 47%, 0%, 88%) | |
| CIE LAB | lab(4.49, 0.42, -10.37) | |
| CIE LCH | lch(4.49, 10.38, 272.3) | |
| CIE XYZ | xyz(0.482, 0.497, 1.298) | |
| Decimal | 331806 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #05101E, 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 #05101E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.1:1 | Pass | Pass | Pass |
| #05101E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.1:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #05101E looks to people with the most common types of color vision deficiency.
#0a111fProtanopia
no red cones#070e1eDeuteranopia
no green cones#001315Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #05101e; }
.text { color: #05101e; }
.border { border: 2px solid #05101e; }
.transparent { background-color: rgb(5 16 30 / 50%); }
.gradient { background: linear-gradient(to right, #05101e, #07051e); }
Similar colors
#0c121bMidnight Edition#060b14Dark Rift#010b13Rich Black#010b13Black Knight#080813Narwhal Gray#102030The Count’s Black#0b0c14Midnight Oil#001b2eOxford by Night
Questions
- What color is #05101E?
- #05101E is a very dark, moderate azure, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #05101E?
- The RGB value is 5, 16, 30: 5 red, 16 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #05101E?
- The complementary color is #1E1305, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #05101E?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.1:1. WCAG asks for at least 4.5:1 for normal text.