#0C073D color
The hex color #0C073D is a very dark, moderate blue.
In the RGB color model it is made of 4.7% red, 2.7% green and 23.9% blue (12, 7, 61).
Its hue angle is 246°, with 79% saturation and 13% lightness. For print, the CMYK equivalent is 80% cyan, 89% magenta, 0% yellow and 76% black.
The closest named color is Deadly Depths (#111144), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.86:1).
#0C073D color codes
| HEX | #0C073D | |
|---|---|---|
| RGB | rgb(12, 7, 61) | |
| RGB percent | rgb(4.7%, 2.7%, 23.9%) | |
| HSL | hsl(246, 79%, 13%) | |
| HSV / HSB | hsv(246, 89%, 24%) | |
| CMYK | cmyk(80%, 89%, 0%, 76%) | |
| CIE LAB | lab(5.12, 21.01, -32.56) | |
| CIE LCH | lch(5.12, 38.75, 302.83) | |
| CIE XYZ | xyz(1.07, 0.567, 4.467) | |
| Decimal | 788285 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C073D, 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 #0C073D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.86:1 | Pass | Pass | Pass |
| #0C073D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.86: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 #0C073D looks to people with the most common types of color vision deficiency.
#00133fProtanopia
no red cones#000f3cDeuteranopia
no green cones#001722Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #0c073d; }
.text { color: #0c073d; }
.border { border: 2px solid #0c073d; }
.transparent { background-color: rgb(12 7 61 / 50%); }
.gradient { background: linear-gradient(to right, #0c073d, #27073d); }
Similar colors
#111144Deadly Depths#000b44Storm#000044Endless Galaxy#160435Quiet Abyss#0f084bSilent Twilight#000435Oblivion#071037Infinite Night#03012dMidnight
Closest common color name: Midnight Blue.
Questions
- What color is #0C073D?
- #0C073D is a very dark, moderate blue, closest to the named color Deadly Depths. It belongs to the black family of colors.
- What is the RGB value of #0C073D?
- The RGB value is 12, 7, 61: 12 red, 7 green and 61 blue on a 0 to 255 scale.
- What is the complementary color of #0C073D?
- The complementary color is #383D07, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C073D?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.86:1. WCAG asks for at least 4.5:1 for normal text.