#0C1517 color
The hex color #0C1517 is a very dark, desaturated cyan.
In the RGB color model it is made of 4.7% red, 8.2% green and 9% blue (12, 21, 23).
Its hue angle is 191°, with 31% saturation and 7% lightness. For print, the CMYK equivalent is 48% cyan, 9% magenta, 0% yellow and 91% black.
The closest named color is Black Stallion (#0E191C), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.5:1).
#0C1517 color codes
| HEX | #0C1517 | |
|---|---|---|
| RGB | rgb(12, 21, 23) | |
| RGB percent | rgb(4.7%, 8.2%, 9%) | |
| HSL | hsl(191, 31%, 7%) | |
| HSV / HSB | hsv(191, 48%, 9%) | |
| CMYK | cmyk(48%, 9%, 0%, 91%) | |
| CIE LAB | lab(6.11, -2.8, -2.49) | |
| CIE LCH | lch(6.11, 3.75, 221.65) | |
| CIE XYZ | xyz(0.574, 0.676, 0.911) | |
| Decimal | 791831 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C1517, 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 #0C1517 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.5:1 | Pass | Pass | Pass |
| #0C1517 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.5:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #0C1517 looks to people with the most common types of color vision deficiency.
#131417Protanopia
no red cones#121317Deuteranopia
no green cones#081616Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #0c1517; }
.text { color: #0c1517; }
.border { border: 2px solid #0c1517; }
.transparent { background-color: rgb(12 21 23 / 50%); }
.gradient { background: linear-gradient(to right, #0c1517, #0c1017); }
Similar colors
#0e191cBlack Stallion#010b13Rich Black#010b13Black Knight#161718Dark Moon#0f1012Ruined Smores#141414Sooty#131313Cursed Black#151515Matt Black
Questions
- What color is #0C1517?
- #0C1517 is a very dark, desaturated cyan, closest to the named color Black Stallion. It belongs to the black family of colors.
- What is the RGB value of #0C1517?
- The RGB value is 12, 21, 23: 12 red, 21 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #0C1517?
- The complementary color is #170E0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C1517?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.5:1. WCAG asks for at least 4.5:1 for normal text.