#0E1117 color
The hex color #0E1117 is a very dark, grayish blue.
In the RGB color model it is made of 5.5% red, 6.7% green and 9% blue (14, 17, 23).
Its hue angle is 220°, with 24% saturation and 7% lightness. For print, the CMYK equivalent is 39% cyan, 26% magenta, 0% yellow and 91% black.
The closest named color is Dark Rift (#060B14), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.9:1).
#0E1117 color codes
| HEX | #0E1117 | |
|---|---|---|
| RGB | rgb(14, 17, 23) | |
| RGB percent | rgb(5.5%, 6.7%, 9%) | |
| HSL | hsl(220, 24%, 7%) | |
| HSV / HSB | hsv(220, 39%, 9%) | |
| CMYK | cmyk(39%, 26%, 0%, 91%) | |
| CIE LAB | lab(5.02, 0.31, -4.06) | |
| CIE LCH | lch(5.02, 4.07, 274.38) | |
| CIE XYZ | xyz(0.536, 0.556, 0.89) | |
| Decimal | 921879 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0E1117, 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 #0E1117 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.9:1 | Pass | Pass | Pass |
| #0E1117 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.9: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 #0E1117 looks to people with the most common types of color vision deficiency.
#0f1117Protanopia
no red cones#0e1117Deuteranopia
no green cones#0c1213Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #0e1117; }
.text { color: #0e1117; }
.border { border: 2px solid #0e1117; }
.transparent { background-color: rgb(14 17 23 / 50%); }
.gradient { background: linear-gradient(to right, #0e1117, #100e17); }
Similar colors
#060b14Dark Rift#0b0c14Midnight Oil#0b0c10Midnight Black#0c121bMidnight Edition#17171aPiano Black#010b13Rich Black#010b13Black Knight#0f1012Ruined Smores
Questions
- What color is #0E1117?
- #0E1117 is a very dark, grayish blue, closest to the named color Dark Rift. It belongs to the black family of colors.
- What is the RGB value of #0E1117?
- The RGB value is 14, 17, 23: 14 red, 17 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #0E1117?
- The complementary color is #17140E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0E1117?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.9:1. WCAG asks for at least 4.5:1 for normal text.