#0C181E color
The hex color #0C181E is a very dark, desaturated azure.
In the RGB color model it is made of 4.7% red, 9.4% green and 11.8% blue (12, 24, 30).
Its hue angle is 200°, with 43% saturation and 8% lightness. For print, the CMYK equivalent is 60% cyan, 20% magenta, 0% yellow and 88% 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 18.03:1).
#0C181E color codes
| HEX | #0C181E | |
|---|---|---|
| RGB | rgb(12, 24, 30) | |
| RGB percent | rgb(4.7%, 9.4%, 11.8%) | |
| HSL | hsl(200, 43%, 8%) | |
| HSV / HSB | hsv(200, 60%, 12%) | |
| CMYK | cmyk(60%, 20%, 0%, 88%) | |
| CIE LAB | lab(7.45, -2.94, -5.85) | |
| CIE LCH | lch(7.45, 6.55, 243.33) | |
| CIE XYZ | xyz(0.713, 0.825, 1.35) | |
| Decimal | 792606 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C181E, 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 #0C181E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 18.03:1 | Pass | Pass | Pass |
| #0C181E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.03:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #0C181E looks to people with the most common types of color vision deficiency.
#15181eProtanopia
no red cones#12161eDeuteranopia
no green cones#051a1aTritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #0c181e; }
.text { color: #0c181e; }
.border { border: 2px solid #0c181e; }
.transparent { background-color: rgb(12 24 30 / 50%); }
.gradient { background: linear-gradient(to right, #0c181e, #0c0f1e); }
Similar colors
#0e191cBlack Stallion#010b13Rich Black#010b13Black Knight#0c121bMidnight Edition#1e272cBlack Pearl#1c1e21Satin Deep Black#060b14Dark Rift#161718Dark Moon
Questions
- What color is #0C181E?
- #0C181E is a very dark, desaturated azure, closest to the named color Black Stallion. It belongs to the black family of colors.
- What is the RGB value of #0C181E?
- The RGB value is 12, 24, 30: 12 red, 24 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #0C181E?
- The complementary color is #1E120C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C181E?
- White text. Black text has a contrast ratio of 1.17:1 and white text 18.03:1. WCAG asks for at least 4.5:1 for normal text.