#0C181A color
The hex color #0C181A is a very dark, desaturated cyan.
In the RGB color model it is made of 4.7% red, 9.4% green and 10.2% blue (12, 24, 26).
Its hue angle is 189°, with 37% saturation and 7% lightness. For print, the CMYK equivalent is 54% cyan, 8% magenta, 0% yellow and 90% black.
The closest named color is Black Stallion (#0E191C), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.08:1).
#0C181A color codes
| HEX | #0C181A | |
|---|---|---|
| RGB | rgb(12, 24, 26) | |
| RGB percent | rgb(4.7%, 9.4%, 10.2%) | |
| HSL | hsl(189, 37%, 7%) | |
| HSV / HSB | hsv(189, 54%, 10%) | |
| CMYK | cmyk(54%, 8%, 0%, 90%) | |
| CIE LAB | lab(7.28, -4.15, -3.07) | |
| CIE LCH | lch(7.28, 5.16, 216.43) | |
| CIE XYZ | xyz(0.665, 0.806, 1.098) | |
| Decimal | 792602 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C181A, 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 #0C181A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.08:1 | Pass | Pass | Pass |
| #0C181A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.08: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 #0C181A looks to people with the most common types of color vision deficiency.
#16171aProtanopia
no red cones#14151aDeuteranopia
no green cones#071919Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #0c181a; }
.text { color: #0c181a; }
.border { border: 2px solid #0c181a; }
.transparent { background-color: rgb(12 24 26 / 50%); }
.gradient { background: linear-gradient(to right, #0c181a, #0c111a); }
Similar colors
#0e191cBlack Stallion#10252aSunken Ship#010b13Rich Black#010b13Black Knight#161718Dark Moon#1e272cBlack Pearl#041108Jedi Night#1c1e21Satin Deep Black
Questions
- What color is #0C181A?
- #0C181A 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 #0C181A?
- The RGB value is 12, 24, 26: 12 red, 24 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #0C181A?
- The complementary color is #1A0E0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C181A?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.08:1. WCAG asks for at least 4.5:1 for normal text.