#0B1117 color
The hex color #0B1117 is a very dark, desaturated azure.
In the RGB color model it is made of 4.3% red, 6.7% green and 9% blue (11, 17, 23).
Its hue angle is 210°, with 35% saturation and 7% lightness. For print, the CMYK equivalent is 52% cyan, 26% magenta, 0% yellow and 91% black.
The closest named color is Rich Black (#010B13), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.97:1).
#0B1117 color codes
| HEX | #0B1117 | |
|---|---|---|
| RGB | rgb(11, 17, 23) | |
| RGB percent | rgb(4.3%, 6.7%, 9%) | |
| HSL | hsl(210, 35%, 7%) | |
| HSV / HSB | hsv(210, 52%, 9%) | |
| CMYK | cmyk(52%, 26%, 0%, 91%) | |
| CIE LAB | lab(4.82, -0.59, -4.38) | |
| CIE LCH | lch(4.82, 4.42, 262.34) | |
| CIE XYZ | xyz(0.493, 0.534, 0.888) | |
| Decimal | 725271 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0B1117, 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 #0B1117 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.97:1 | Pass | Pass | Pass |
| #0B1117 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.97: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 #0B1117 looks to people with the most common types of color vision deficiency.
#0f1117Protanopia
no red cones#0d1017Deuteranopia
no green cones#071213Tritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #0b1117; }
.text { color: #0b1117; }
.border { border: 2px solid #0b1117; }
.transparent { background-color: rgb(11 17 23 / 50%); }
.gradient { background: linear-gradient(to right, #0b1117, #0b0b17); }
Similar colors
#010b13Rich Black#010b13Black Knight#060b14Dark Rift#0c121bMidnight Edition#0b0c10Midnight Black#0b0c14Midnight Oil#0f1012Ruined Smores#03050aEight Ball
Questions
- What color is #0B1117?
- #0B1117 is a very dark, desaturated azure, closest to the named color Rich Black. It belongs to the black family of colors.
- What is the RGB value of #0B1117?
- The RGB value is 11, 17, 23: 11 red, 17 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #0B1117?
- The complementary color is #17110B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0B1117?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.97:1. WCAG asks for at least 4.5:1 for normal text.