#0D1116 color
The hex color #0D1116 is a very dark, desaturated azure.
In the RGB color model it is made of 5.1% red, 6.7% green and 8.6% blue (13, 17, 22).
Its hue angle is 213°, with 26% saturation and 7% lightness. For print, the CMYK equivalent is 41% cyan, 23% magenta, 0% yellow and 91% black.
The closest named color is Midnight Black (#0B0C10), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.94:1).
#0D1116 color codes
| HEX | #0D1116 | |
|---|---|---|
| RGB | rgb(13, 17, 22) | |
| RGB percent | rgb(5.1%, 6.7%, 8.6%) | |
| HSL | hsl(213, 26%, 7%) | |
| HSV / HSB | hsv(213, 41%, 9%) | |
| CMYK | cmyk(41%, 23%, 0%, 91%) | |
| CIE LAB | lab(4.92, -0.25, -3.49) | |
| CIE LCH | lch(4.92, 3.5, 265.84) | |
| CIE XYZ | xyz(0.511, 0.544, 0.837) | |
| Decimal | 856342 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0D1116, 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 #0D1116 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.94:1 | Pass | Pass | Pass |
| #0D1116 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.94:1 | Pass | Pass | Pass |
| Sample text | 1.11: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 #0D1116 looks to people with the most common types of color vision deficiency.
#0f1116Protanopia
no red cones#0e1016Deuteranopia
no green cones#0b1213Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #0d1116; }
.text { color: #0d1116; }
.border { border: 2px solid #0d1116; }
.transparent { background-color: rgb(13 17 22 / 50%); }
.gradient { background: linear-gradient(to right, #0d1116, #0d0d16); }
Similar colors
#0b0c10Midnight Black#060b14Dark Rift#0f1012Ruined Smores#010b13Rich Black#010b13Black Knight#0b0c14Midnight Oil#03050aEight Ball#151517Dark Void
Questions
- What color is #0D1116?
- #0D1116 is a very dark, desaturated azure, closest to the named color Midnight Black. It belongs to the black family of colors.
- What is the RGB value of #0D1116?
- The RGB value is 13, 17, 22: 13 red, 17 green and 22 blue on a 0 to 255 scale.
- What is the complementary color of #0D1116?
- The complementary color is #16120D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0D1116?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.94:1. WCAG asks for at least 4.5:1 for normal text.