#000C8C color

#000C8C rgb(0, 12, 140)
Shades of blue

The hex color #000C8C is a dark, vivid blue.

In the RGB color model it is made of 0% red, 4.7% green and 54.9% blue (0, 12, 140).

Its hue angle is 235°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 100% cyan, 91% magenta, 0% yellow and 45% black.

The closest named color is Ultramarine (#120A8F), a difference of 1 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 14.67:1).

#000C8C color codes

HEX#000C8C
RGBrgb(0, 12, 140)
RGB percentrgb(0%, 4.7%, 54.9%)
HSLhsl(235, 100%, 27%)
HSV / HSBhsv(235, 100%, 55%)
CMYKcmyk(100%, 91%, 0%, 45%)
CIE LABlab(16.28, 46.47, -66.75)
CIE LCHlch(16.28, 81.33, 304.85)
CIE XYZxyz(4.863, 2.156, 24.966)
Decimal3212
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #000C8C, 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 #000C8CRatioAAAAAAA large
Sample text1.43:1FailFailFail
Sample text14.67:1PassPassPass
#000C8C as text onRatioAAAAAAA large
Sample text14.67:1PassPassPass
Sample text1.43: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 #000C8C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #000c8c; }
.text { color: #000c8c; }
.border { border: 2px solid #000c8c; }
.transparent { background-color: rgb(0 12 140 / 50%); }
.gradient { background: linear-gradient(to right, #000c8c, #3a008c); }
Background
Text color
Border

Similar colors

Questions

What color is #000C8C?
#000C8C is a dark, vivid blue, closest to the named color Ultramarine. It belongs to the blue family of colors.
What is the RGB value of #000C8C?
The RGB value is 0, 12, 140: 0 red, 12 green and 140 blue on a 0 to 255 scale.
What is the complementary color of #000C8C?
The complementary color is #8C8000, found by rotating the hue 180° on the color wheel.
Is black or white text better on #000C8C?
White text. Black text has a contrast ratio of 1.43:1 and white text 14.67:1. WCAG asks for at least 4.5:1 for normal text.