#0C111E color
The hex color #0C111E is a very dark, desaturated blue.
In the RGB color model it is made of 4.7% red, 6.7% green and 11.8% blue (12, 17, 30).
Its hue angle is 223°, with 43% saturation and 8% lightness. For print, the CMYK equivalent is 60% cyan, 43% magenta, 0% yellow and 88% black.
The closest named color is Midnight Edition (#0C121B), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.84:1).
#0C111E color codes
| HEX | #0C111E | |
|---|---|---|
| RGB | rgb(12, 17, 30) | |
| RGB percent | rgb(4.7%, 6.7%, 11.8%) | |
| HSL | hsl(223, 43%, 8%) | |
| HSV / HSB | hsv(223, 60%, 12%) | |
| CMYK | cmyk(60%, 43%, 0%, 88%) | |
| CIE LAB | lab(5.17, 1.72, -9.3) | |
| CIE LCH | lch(5.17, 9.45, 280.47) | |
| CIE XYZ | xyz(0.586, 0.573, 1.308) | |
| Decimal | 790814 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C111E, 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 #0C111E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.84:1 | Pass | Pass | Pass |
| #0C111E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.84:1 | Pass | Pass | Pass |
| Sample text | 1.11: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 #0C111E looks to people with the most common types of color vision deficiency.
#0c121fProtanopia
no red cones#0b111eDeuteranopia
no green cones#061416Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #0c111e; }
.text { color: #0c111e; }
.border { border: 2px solid #0c111e; }
.transparent { background-color: rgb(12 17 30 / 50%); }
.gradient { background: linear-gradient(to right, #0c111e, #100c1e); }
Similar colors
#0c121bMidnight Edition#080813Narwhal Gray#16161dEigengrau#060b14Dark Rift#111122Corbeau#060313Obsidian Shard#0b0c14Midnight Oil#16141cBack in Black
Closest common color name: Rich Black.
Questions
- What color is #0C111E?
- #0C111E is a very dark, desaturated blue, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #0C111E?
- The RGB value is 12, 17, 30: 12 red, 17 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #0C111E?
- The complementary color is #1E190C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C111E?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.84:1. WCAG asks for at least 4.5:1 for normal text.