#0C1115 color
The hex color #0C1115 is a very dark, desaturated azure.
In the RGB color model it is made of 4.7% red, 6.7% green and 8.2% blue (12, 17, 21).
Its hue angle is 207°, with 27% saturation and 6% lightness. For print, the CMYK equivalent is 43% cyan, 19% magenta, 0% yellow and 92% black.
The closest named color is Ruined Smores (#0F1012), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.98:1).
#0C1115 color codes
| HEX | #0C1115 | |
|---|---|---|
| RGB | rgb(12, 17, 21) | |
| RGB percent | rgb(4.7%, 6.7%, 8.2%) | |
| HSL | hsl(207, 27%, 6%) | |
| HSV / HSB | hsv(207, 43%, 8%) | |
| CMYK | cmyk(43%, 19%, 0%, 92%) | |
| CIE LAB | lab(4.82, -0.79, -2.95) | |
| CIE LCH | lch(4.82, 3.05, 254.91) | |
| CIE XYZ | xyz(0.487, 0.533, 0.787) | |
| Decimal | 790805 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C1115, 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 #0C1115 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.98:1 | Pass | Pass | Pass |
| #0C1115 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.98: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 #0C1115 looks to people with the most common types of color vision deficiency.
#0f1115Protanopia
no red cones#0e1015Deuteranopia
no green cones#091212Tritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #0c1115; }
.text { color: #0c1115; }
.border { border: 2px solid #0c1115; }
.transparent { background-color: rgb(12 17 21 / 50%); }
.gradient { background: linear-gradient(to right, #0c1115, #0c0c15); }
Similar colors
#0f1012Ruined Smores#010b13Rich Black#010b13Black Knight#0b0c10Midnight Black#03050aEight Ball#060b14Dark Rift#151517Dark Void#161718Dark Moon
Questions
- What color is #0C1115?
- #0C1115 is a very dark, desaturated azure, closest to the named color Ruined Smores. It belongs to the black family of colors.
- What is the RGB value of #0C1115?
- The RGB value is 12, 17, 21: 12 red, 17 green and 21 blue on a 0 to 255 scale.
- What is the complementary color of #0C1115?
- The complementary color is #15100C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C1115?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.98:1. WCAG asks for at least 4.5:1 for normal text.