#000C4E color
The hex color #000C4E is a very dark, vivid blue.
In the RGB color model it is made of 0% red, 4.7% green and 30.6% blue (0, 12, 78).
Its hue angle is 231°, with 100% saturation and 15% lightness. For print, the CMYK equivalent is 100% cyan, 85% magenta, 0% yellow and 69% black.
The closest named color is Interstellar Blue (#001155), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.06:1).
#000C4E color codes
| HEX | #000C4E | |
|---|---|---|
| RGB | rgb(0, 12, 78) | |
| RGB percent | rgb(0%, 4.7%, 30.6%) | |
| HSL | hsl(231, 100%, 15%) | |
| HSV / HSB | hsv(231, 100%, 31%) | |
| CMYK | cmyk(100%, 85%, 0%, 69%) | |
| CIE LAB | lab(7.34, 24.98, -40.94) | |
| CIE LCH | lch(7.34, 47.96, 301.38) | |
| CIE XYZ | xyz(1.506, 0.813, 7.284) | |
| Decimal | 3150 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #000C4E, 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 #000C4E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.06:1 | Pass | Pass | Pass |
| #000C4E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.06:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #000C4E looks to people with the most common types of color vision deficiency.
#001a50Protanopia
no red cones#00124dDeuteranopia
no green cones#00202cTritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #000c4e; }
.text { color: #000c4e; }
.border { border: 2px solid #000c4e; }
.transparent { background-color: rgb(0 12 78 / 50%); }
.gradient { background: linear-gradient(to right, #000c4e, #1b004e); }
Similar colors
#001155Interstellar Blue#000b44Storm#0f084bSilent Twilight#000044Endless Galaxy#150f5bSpace Colonisation#0a0555Ravenclaw#111144Deadly Depths#111166Dying Storm Blue
Closest common color name: Midnight Blue.
Questions
- What color is #000C4E?
- #000C4E is a very dark, vivid blue, closest to the named color Interstellar Blue. It belongs to the black family of colors.
- What is the RGB value of #000C4E?
- The RGB value is 0, 12, 78: 0 red, 12 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #000C4E?
- The complementary color is #4E4200, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #000C4E?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.06:1. WCAG asks for at least 4.5:1 for normal text.