#0F171B color
The hex color #0F171B is a very dark, desaturated azure.
In the RGB color model it is made of 5.9% red, 9% green and 10.6% blue (15, 23, 27).
Its hue angle is 200°, with 29% saturation and 8% lightness. For print, the CMYK equivalent is 44% cyan, 15% magenta, 0% yellow and 89% black.
The closest named color is Black Stallion (#0E191C), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.12:1).
#0F171B color codes
| HEX | #0F171B | |
|---|---|---|
| RGB | rgb(15, 23, 27) | |
| RGB percent | rgb(5.9%, 9%, 10.6%) | |
| HSL | hsl(200, 29%, 8%) | |
| HSV / HSB | hsv(200, 44%, 11%) | |
| CMYK | cmyk(44%, 15%, 0%, 89%) | |
| CIE LAB | lab(7.17, -2.17, -3.97) | |
| CIE LCH | lch(7.17, 4.53, 241.36) | |
| CIE XYZ | xyz(0.701, 0.793, 1.153) | |
| Decimal | 988955 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F171B, 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 #0F171B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.12:1 | Pass | Pass | Pass |
| #0F171B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.12:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #0F171B looks to people with the most common types of color vision deficiency.
#15171bProtanopia
no red cones#13151bDeuteranopia
no green cones#0b1818Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #0f171b; }
.text { color: #0f171b; }
.border { border: 2px solid #0f171b; }
.transparent { background-color: rgb(15 23 27 / 50%); }
.gradient { background: linear-gradient(to right, #0f171b, #0f111b); }
Similar colors
#0e191cBlack Stallion#010b13Rich Black#010b13Black Knight#161718Dark Moon#1c1e21Satin Deep Black#0c121bMidnight Edition#0f1012Ruined Smores#151517Dark Void
Questions
- What color is #0F171B?
- #0F171B is a very dark, desaturated azure, closest to the named color Black Stallion. It belongs to the black family of colors.
- What is the RGB value of #0F171B?
- The RGB value is 15, 23, 27: 15 red, 23 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #0F171B?
- The complementary color is #1B130F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F171B?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.12:1. WCAG asks for at least 4.5:1 for normal text.