#000C4F color
The hex color #000C4F is a very dark, vivid blue.
In the RGB color model it is made of 0% red, 4.7% green and 31% blue (0, 12, 79).
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.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.02:1).
#000C4F color codes
| HEX | #000C4F | |
|---|---|---|
| RGB | rgb(0, 12, 79) | |
| RGB percent | rgb(0%, 4.7%, 31%) | |
| HSL | hsl(231, 100%, 15%) | |
| HSV / HSB | hsv(231, 100%, 31%) | |
| CMYK | cmyk(100%, 85%, 0%, 69%) | |
| CIE LAB | lab(7.47, 25.41, -41.42) | |
| CIE LCH | lch(7.47, 48.59, 301.53) | |
| CIE XYZ | xyz(1.542, 0.827, 7.474) | |
| Decimal | 3151 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #000C4F, 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 #000C4F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 18.02:1 | Pass | Pass | Pass |
| #000C4F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.02:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #000C4F looks to people with the most common types of color vision deficiency.
#001b51Protanopia
no red cones#00124eDeuteranopia
no green cones#00212dTritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #000c4f; }
.text { color: #000c4f; }
.border { border: 2px solid #000c4f; }
.transparent { background-color: rgb(0 12 79 / 50%); }
.gradient { background: linear-gradient(to right, #000c4f, #1c004f); }
Similar colors
#001155Interstellar Blue#0f084bSilent Twilight#000b44Storm#000044Endless Galaxy#150f5bSpace Colonisation#0a0555Ravenclaw#111144Deadly Depths#111166Dying Storm Blue
Closest common color name: Midnight Blue.
Questions
- What color is #000C4F?
- #000C4F 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 #000C4F?
- The RGB value is 0, 12, 79: 0 red, 12 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #000C4F?
- The complementary color is #4F4300, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #000C4F?
- White text. Black text has a contrast ratio of 1.17:1 and white text 18.02:1. WCAG asks for at least 4.5:1 for normal text.