#000C4E color

#000C4E rgb(0, 12, 78)
Shades of black

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
RGBrgb(0, 12, 78)
RGB percentrgb(0%, 4.7%, 30.6%)
HSLhsl(231, 100%, 15%)
HSV / HSBhsv(231, 100%, 31%)
CMYKcmyk(100%, 85%, 0%, 69%)
CIE LABlab(7.34, 24.98, -40.94)
CIE LCHlch(7.34, 47.96, 301.38)
CIE XYZxyz(1.506, 0.813, 7.284)
Decimal3150
Short hexNone (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 #000C4ERatioAAAAAAA large
Sample text1.16:1FailFailFail
Sample text18.06:1PassPassPass
#000C4E as text onRatioAAAAAAA large
Sample text18.06:1PassPassPass
Sample text1.16:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.