#0C0730 color
The hex color #0C0730 is a very dark, moderate blue.
In the RGB color model it is made of 4.7% red, 2.7% green and 18.8% blue (12, 7, 48).
Its hue angle is 247°, with 75% saturation and 11% lightness. For print, the CMYK equivalent is 75% cyan, 85% magenta, 0% yellow and 81% black.
The closest named color is Midnight (#03012D), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.29:1).
#0C0730 color codes
| HEX | #0C0730 | |
|---|---|---|
| RGB | rgb(12, 7, 48) | |
| RGB percent | rgb(4.7%, 2.7%, 18.8%) | |
| HSL | hsl(247, 75%, 11%) | |
| HSV / HSB | hsv(247, 85%, 19%) | |
| CMYK | cmyk(75%, 85%, 0%, 81%) | |
| CIE LAB | lab(4.01, 13.9, -24.83) | |
| CIE LCH | lch(4.01, 28.46, 299.25) | |
| CIE XYZ | xyz(0.761, 0.443, 2.841) | |
| Decimal | 788272 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C0730, 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 #0C0730 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.09:1 | Fail | Fail | Fail |
| Sample text | 19.29:1 | Pass | Pass | Pass |
| #0C0730 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.29:1 | Pass | Pass | Pass |
| Sample text | 1.09: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 #0C0730 looks to people with the most common types of color vision deficiency.
#001031Protanopia
no red cones#000d2fDeuteranopia
no green cones#00121aTritanopia
no blue cones#0e0e0eAchromatopsia
no color vision
CSS examples
.background { background-color: #0c0730; }
.text { color: #0c0730; }
.border { border: 2px solid #0c0730; }
.transparent { background-color: rgb(12 7 48 / 50%); }
.gradient { background: linear-gradient(to right, #0c0730, #200730); }
Similar colors
#03012dMidnight#071037Infinite Night#00022eIllicit Darkness#000435Oblivion#060929Mysterious Depths#160435Quiet Abyss#1c0f33Midnight Monarch#111144Deadly Depths
Closest common color name: Oxford Blue.
Questions
- What color is #0C0730?
- #0C0730 is a very dark, moderate blue, closest to the named color Midnight. It belongs to the black family of colors.
- What is the RGB value of #0C0730?
- The RGB value is 12, 7, 48: 12 red, 7 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #0C0730?
- The complementary color is #2B3007, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C0730?
- White text. Black text has a contrast ratio of 1.09:1 and white text 19.29:1. WCAG asks for at least 4.5:1 for normal text.