#0C1819 color
The hex color #0C1819 is a very dark, desaturated cyan.
In the RGB color model it is made of 4.7% red, 9.4% green and 9.8% blue (12, 24, 25).
Its hue angle is 185°, with 35% saturation and 7% lightness. For print, the CMYK equivalent is 52% cyan, 4% magenta, 0% yellow and 90% black.
The closest named color is Black Stallion (#0E191C), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.1:1).
#0C1819 color codes
| HEX | #0C1819 | |
|---|---|---|
| RGB | rgb(12, 24, 25) | |
| RGB percent | rgb(4.7%, 9.4%, 9.8%) | |
| HSL | hsl(185, 35%, 7%) | |
| HSV / HSB | hsv(185, 52%, 10%) | |
| CMYK | cmyk(52%, 4%, 0%, 90%) | |
| CIE LAB | lab(7.24, -4.43, -2.36) | |
| CIE LCH | lch(7.24, 5.02, 208.05) | |
| CIE XYZ | xyz(0.654, 0.802, 1.04) | |
| Decimal | 792601 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C1819, 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 #0C1819 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.1:1 | Pass | Pass | Pass |
| #0C1819 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.1: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 #0C1819 looks to people with the most common types of color vision deficiency.
#161719Protanopia
no red cones#141519Deuteranopia
no green cones#071918Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #0c1819; }
.text { color: #0c1819; }
.border { border: 2px solid #0c1819; }
.transparent { background-color: rgb(12 24 25 / 50%); }
.gradient { background: linear-gradient(to right, #0c1819, #0c1219); }
Similar colors
#0e191cBlack Stallion#041108Jedi Night#10252aSunken Ship#010b13Rich Black#010b13Black Knight#161718Dark Moon#020f03Blackn’t#1e272cBlack Pearl
Questions
- What color is #0C1819?
- #0C1819 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 #0C1819?
- The RGB value is 12, 24, 25: 12 red, 24 green and 25 blue on a 0 to 255 scale.
- What is the complementary color of #0C1819?
- The complementary color is #190D0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C1819?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.1:1. WCAG asks for at least 4.5:1 for normal text.