#0C0D16 color
The hex color #0C0D16 is a very dark, desaturated blue.
In the RGB color model it is made of 4.7% red, 5.1% green and 8.6% blue (12, 13, 22).
Its hue angle is 234°, with 29% saturation and 7% lightness. For print, the CMYK equivalent is 45% cyan, 41% magenta, 0% yellow and 91% black.
The closest named color is Midnight Oil (#0B0C14), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.36:1).
#0C0D16 color codes
| HEX | #0C0D16 | |
|---|---|---|
| RGB | rgb(12, 13, 22) | |
| RGB percent | rgb(4.7%, 5.1%, 8.6%) | |
| HSL | hsl(234, 29%, 7%) | |
| HSV / HSB | hsv(234, 45%, 9%) | |
| CMYK | cmyk(45%, 41%, 0%, 91%) | |
| CIE LAB | lab(3.83, 1.53, -5.09) | |
| CIE LCH | lch(3.83, 5.32, 286.75) | |
| CIE XYZ | xyz(0.44, 0.424, 0.818) | |
| Decimal | 789782 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C0D16, 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 #0C0D16 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.36:1 | Pass | Pass | Pass |
| #0C0D16 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.36:1 | Pass | Pass | Pass |
| Sample text | 1.08: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 #0C0D16 looks to people with the most common types of color vision deficiency.
#0a0e16Protanopia
no red cones#0a0d16Deuteranopia
no green cones#090f10Tritanopia
no blue cones#0e0e0eAchromatopsia
no color vision
CSS examples
.background { background-color: #0c0d16; }
.text { color: #0c0d16; }
.border { border: 2px solid #0c0d16; }
.transparent { background-color: rgb(12 13 22 / 50%); }
.gradient { background: linear-gradient(to right, #0c0d16, #100c16); }
Similar colors
#0b0c14Midnight Oil#080813Narwhal Gray#060b14Dark Rift#16161dEigengrau#0c121bMidnight Edition#16141cBack in Black#060313Obsidian Shard#0b0c10Midnight Black
Questions
- What color is #0C0D16?
- #0C0D16 is a very dark, desaturated blue, closest to the named color Midnight Oil. It belongs to the black family of colors.
- What is the RGB value of #0C0D16?
- The RGB value is 12, 13, 22: 12 red, 13 green and 22 blue on a 0 to 255 scale.
- What is the complementary color of #0C0D16?
- The complementary color is #16150C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C0D16?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.36:1. WCAG asks for at least 4.5:1 for normal text.