#0C0346 color
The hex color #0C0346 is a very dark, vivid blue.
In the RGB color model it is made of 4.7% red, 1.2% green and 27.5% blue (12, 3, 70).
Its hue angle is 248°, with 92% saturation and 14% lightness. For print, the CMYK equivalent is 83% cyan, 96% magenta, 0% yellow and 73% black.
The closest named color is Silent Twilight (#0F084B), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.8:1).
#0C0346 color codes
| HEX | #0C0346 | |
|---|---|---|
| RGB | rgb(12, 3, 70) | |
| RGB percent | rgb(4.7%, 1.2%, 27.5%) | |
| HSL | hsl(248, 92%, 14%) | |
| HSV / HSB | hsv(248, 96%, 27%) | |
| CMYK | cmyk(83%, 96%, 0%, 73%) | |
| CIE LAB | lab(5.29, 27.49, -38.71) | |
| CIE LCH | lch(5.29, 47.48, 305.38) | |
| CIE XYZ | xyz(1.289, 0.585, 5.838) | |
| Decimal | 787270 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C0346, 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 #0C0346 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.12:1 | Fail | Fail | Fail |
| Sample text | 18.8:1 | Pass | Pass | Pass |
| #0C0346 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.8:1 | Pass | Pass | Pass |
| Sample text | 1.12: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 #0C0346 looks to people with the most common types of color vision deficiency.
#001448Protanopia
no red cones#000e45Deuteranopia
no green cones#001926Tritanopia
no blue cones#121212Achromatopsia
no color vision
CSS examples
.background { background-color: #0c0346; }
.text { color: #0c0346; }
.border { border: 2px solid #0c0346; }
.transparent { background-color: rgb(12 3 70 / 50%); }
.gradient { background: linear-gradient(to right, #0c0346, #2e0346); }
Similar colors
#0f084bSilent Twilight#000044Endless Galaxy#0a0555Ravenclaw#000b44Storm#150f5bSpace Colonisation#111144Deadly Depths#001155Interstellar Blue#220044Your Darkness
Closest common color name: Midnight Blue.
Questions
- What color is #0C0346?
- #0C0346 is a very dark, vivid blue, closest to the named color Silent Twilight. It belongs to the black family of colors.
- What is the RGB value of #0C0346?
- The RGB value is 12, 3, 70: 12 red, 3 green and 70 blue on a 0 to 255 scale.
- What is the complementary color of #0C0346?
- The complementary color is #3D4603, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C0346?
- White text. Black text has a contrast ratio of 1.12:1 and white text 18.8:1. WCAG asks for at least 4.5:1 for normal text.