#0C1717 color
The hex color #0C1717 is a very dark, desaturated cyan.
In the RGB color model it is made of 4.7% red, 9% green and 9% blue (12, 23, 23).
Its hue angle is 180°, with 31% saturation and 7% lightness. For print, the CMYK equivalent is 48% cyan, 0% magenta, 0% yellow and 91% black.
The closest named color is Black Stallion (#0E191C), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.25:1).
#0C1717 color codes
| HEX | #0C1717 | |
|---|---|---|
| RGB | rgb(12, 23, 23) | |
| RGB percent | rgb(4.7%, 9%, 9%) | |
| HSL | hsl(180, 31%, 7%) | |
| HSV / HSB | hsv(180, 48%, 9%) | |
| CMYK | cmyk(48%, 0%, 0%, 91%) | |
| CIE LAB | lab(6.8, -4.21, -1.48) | |
| CIE LCH | lch(6.8, 4.47, 199.41) | |
| CIE XYZ | xyz(0.613, 0.753, 0.923) | |
| Decimal | 792343 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C1717, 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 #0C1717 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.15:1 | Fail | Fail | Fail |
| Sample text | 18.25:1 | Pass | Pass | Pass |
| #0C1717 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.25:1 | Pass | Pass | Pass |
| Sample text | 1.15: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 #0C1717 looks to people with the most common types of color vision deficiency.
#161617Protanopia
no red cones#141417Deuteranopia
no green cones#081817Tritanopia
no blue cones#151515Achromatopsia
no color vision
CSS examples
.background { background-color: #0c1717; }
.text { color: #0c1717; }
.border { border: 2px solid #0c1717; }
.transparent { background-color: rgb(12 23 23 / 50%); }
.gradient { background: linear-gradient(to right, #0c1717, #0c1217); }
Similar colors
#0e191cBlack Stallion#041108Jedi Night#020f03Blackn’t#161718Dark Moon#121210Glimpse Into Space#010b13Rich Black#010b13Black Knight#151515Matt Black
Questions
- What color is #0C1717?
- #0C1717 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 #0C1717?
- The RGB value is 12, 23, 23: 12 red, 23 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #0C1717?
- The complementary color is #170C0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C1717?
- White text. Black text has a contrast ratio of 1.15:1 and white text 18.25:1. WCAG asks for at least 4.5:1 for normal text.