#050D17 color
The hex color #050D17 is a very dark, moderate azure.
In the RGB color model it is made of 2% red, 5.1% green and 9% blue (5, 13, 23).
Its hue angle is 213°, with 64% saturation and 5% lightness. For print, the CMYK equivalent is 78% cyan, 43% magenta, 0% yellow and 91% black.
The closest named color is Midnight Edition (#0C121B), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.51:1).
#050D17 color codes
| HEX | #050D17 | |
|---|---|---|
| RGB | rgb(5, 13, 23) | |
| RGB percent | rgb(2%, 5.1%, 9%) | |
| HSL | hsl(213, 64%, 5%) | |
| HSV / HSB | hsv(213, 78%, 9%) | |
| CMYK | cmyk(78%, 43%, 0%, 91%) | |
| CIE LAB | lab(3.45, -0.08, -6.43) | |
| CIE LCH | lch(3.45, 6.43, 269.3) | |
| CIE XYZ | xyz(0.361, 0.382, 0.865) | |
| Decimal | 331031 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #050D17, 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 #050D17 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.51:1 | Pass | Pass | Pass |
| #050D17 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.51:1 | Pass | Pass | Pass |
| Sample text | 1.08: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 #050D17 looks to people with the most common types of color vision deficiency.
#090d17Protanopia
no red cones#070c17Deuteranopia
no green cones#000f11Tritanopia
no blue cones#0c0c0cAchromatopsia
no color vision
CSS examples
.background { background-color: #050d17; }
.text { color: #050d17; }
.border { border: 2px solid #050d17; }
.transparent { background-color: rgb(5 13 23 / 50%); }
.gradient { background: linear-gradient(to right, #050d17, #060517); }
Similar colors
#0c121bMidnight Edition#060b14Dark Rift#010b13Rich Black#010b13Black Knight#0b0c14Midnight Oil#080813Narwhal Gray#0b0c10Midnight Black#03050aEight Ball
Questions
- What color is #050D17?
- #050D17 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 #050D17?
- The RGB value is 5, 13, 23: 5 red, 13 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #050D17?
- The complementary color is #170F05, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #050D17?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.51:1. WCAG asks for at least 4.5:1 for normal text.