#0C1522 color
The hex color #0C1522 is a very dark, desaturated azure.
In the RGB color model it is made of 4.7% red, 8.2% green and 13.3% blue (12, 21, 34).
Its hue angle is 215°, with 48% saturation and 9% lightness. For print, the CMYK equivalent is 65% cyan, 38% magenta, 0% yellow and 87% 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.32:1).
#0C1522 color codes
| HEX | #0C1522 | |
|---|---|---|
| RGB | rgb(12, 21, 34) | |
| RGB percent | rgb(4.7%, 8.2%, 13.3%) | |
| HSL | hsl(215, 48%, 9%) | |
| HSV / HSB | hsv(215, 65%, 13%) | |
| CMYK | cmyk(65%, 38%, 0%, 87%) | |
| CIE LAB | lab(6.59, 0.6, -10.2) | |
| CIE LCH | lch(6.59, 10.22, 273.36) | |
| CIE XYZ | xyz(0.708, 0.73, 1.617) | |
| Decimal | 791842 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C1522, 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 #0C1522 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.15:1 | Fail | Fail | Fail |
| Sample text | 18.32:1 | Pass | Pass | Pass |
| #0C1522 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.32:1 | Pass | Pass | Pass |
| Sample text | 1.15: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 #0C1522 looks to people with the most common types of color vision deficiency.
#101623Protanopia
no red cones#0d1422Deuteranopia
no green cones#04181aTritanopia
no blue cones#151515Achromatopsia
no color vision
CSS examples
.background { background-color: #0c1522; }
.text { color: #0c1522; }
.border { border: 2px solid #0c1522; }
.transparent { background-color: rgb(12 21 34 / 50%); }
.gradient { background: linear-gradient(to right, #0c1522, #0e0c22); }
Similar colors
#0c121bMidnight Edition#102030The Count’s Black#0e1d32Trapped Darkness#060b14Dark Rift#1b2431Dark#16161dEigengrau#001b2eOxford by Night#0b0c14Midnight Oil
Closest common color name: Rich Black.
Questions
- What color is #0C1522?
- #0C1522 is a very dark, desaturated azure, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #0C1522?
- The RGB value is 12, 21, 34: 12 red, 21 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #0C1522?
- The complementary color is #22190C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C1522?
- White text. Black text has a contrast ratio of 1.15:1 and white text 18.32:1. WCAG asks for at least 4.5:1 for normal text.