#0C1C20 color
The hex color #0C1C20 is a very dark, desaturated cyan.
In the RGB color model it is made of 4.7% red, 11% green and 12.5% blue (12, 28, 32).
Its hue angle is 192°, with 45% saturation and 9% lightness. For print, the CMYK equivalent is 62% cyan, 12% magenta, 0% yellow and 87% black.
The closest named color is Black Stallion (#0E191C), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.46:1).
#0C1C20 color codes
| HEX | #0C1C20 | |
|---|---|---|
| RGB | rgb(12, 28, 32) | |
| RGB percent | rgb(4.7%, 11%, 12.5%) | |
| HSL | hsl(192, 45%, 9%) | |
| HSV / HSB | hsv(192, 63%, 13%) | |
| CMYK | cmyk(62%, 12%, 0%, 87%) | |
| CIE LAB | lab(9.1, -5.32, -4.86) | |
| CIE LCH | lch(9.1, 7.21, 222.44) | |
| CIE XYZ | xyz(0.827, 1.013, 1.518) | |
| Decimal | 793632 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C1C20, 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 #0C1C20 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.46:1 | Pass | Pass | Pass |
| #0C1C20 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.46:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #0C1C20 looks to people with the most common types of color vision deficiency.
#191b20Protanopia
no red cones#161920Deuteranopia
no green cones#041e1dTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #0c1c20; }
.text { color: #0c1c20; }
.border { border: 2px solid #0c1c20; }
.transparent { background-color: rgb(12 28 32 / 50%); }
.gradient { background: linear-gradient(to right, #0c1c20, #0c1220); }
Similar colors
#0e191cBlack Stallion#10252aSunken Ship#0f282fBlack Box#1e272cBlack Pearl#172b36Oceanic Noir#162825Swamp Thing#010b13Rich Black#010b13Black Knight
Questions
- What color is #0C1C20?
- #0C1C20 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 #0C1C20?
- The RGB value is 12, 28, 32: 12 red, 28 green and 32 blue on a 0 to 255 scale.
- What is the complementary color of #0C1C20?
- The complementary color is #20100C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C1C20?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.46:1. WCAG asks for at least 4.5:1 for normal text.