#0C1319 color
The hex color #0C1319 is a very dark, desaturated azure.
In the RGB color model it is made of 4.7% red, 7.5% green and 9.8% blue (12, 19, 25).
Its hue angle is 208°, with 35% saturation and 7% lightness. For print, the CMYK equivalent is 52% cyan, 24% magenta, 0% yellow and 90% black.
The closest named color is Rich Black (#010B13), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.7:1).
#0C1319 color codes
| HEX | #0C1319 | |
|---|---|---|
| RGB | rgb(12, 19, 25) | |
| RGB percent | rgb(4.7%, 7.5%, 9.8%) | |
| HSL | hsl(208, 35%, 7%) | |
| HSV / HSB | hsv(208, 52%, 10%) | |
| CMYK | cmyk(52%, 24%, 0%, 90%) | |
| CIE LAB | lab(5.55, -0.97, -4.85) | |
| CIE LCH | lch(5.55, 4.95, 258.66) | |
| CIE XYZ | xyz(0.56, 0.614, 1.009) | |
| Decimal | 791321 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C1319, 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 #0C1319 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.12:1 | Fail | Fail | Fail |
| Sample text | 18.7:1 | Pass | Pass | Pass |
| #0C1319 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.7:1 | Pass | Pass | Pass |
| Sample text | 1.12: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 #0C1319 looks to people with the most common types of color vision deficiency.
#111319Protanopia
no red cones#0f1219Deuteranopia
no green cones#081415Tritanopia
no blue cones#121212Achromatopsia
no color vision
CSS examples
.background { background-color: #0c1319; }
.text { color: #0c1319; }
.border { border: 2px solid #0c1319; }
.transparent { background-color: rgb(12 19 25 / 50%); }
.gradient { background: linear-gradient(to right, #0c1319, #0c0c19); }
Similar colors
#010b13Rich Black#010b13Black Knight#0c121bMidnight Edition#060b14Dark Rift#0b0c10Midnight Black#0b0c14Midnight Oil#0f1012Ruined Smores#17171aPiano Black
Questions
- What color is #0C1319?
- #0C1319 is a very dark, desaturated azure, closest to the named color Rich Black. It belongs to the black family of colors.
- What is the RGB value of #0C1319?
- The RGB value is 12, 19, 25: 12 red, 19 green and 25 blue on a 0 to 255 scale.
- What is the complementary color of #0C1319?
- The complementary color is #19120C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C1319?
- White text. Black text has a contrast ratio of 1.12:1 and white text 18.7:1. WCAG asks for at least 4.5:1 for normal text.