#0C008A color

#0C008A rgb(12, 0, 138)
Shades of blue

The hex color #0C008A is a dark, vivid blue.

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

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

The closest named color is Dark Blue (#00008B), a difference of 0.4 ΔE, which is barely visible.

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

#0C008A color codes

HEX#0C008A
RGBrgb(12, 0, 138)
RGB percentrgb(4.7%, 0%, 54.1%)
HSLhsl(245, 100%, 27%)
HSV / HSBhsv(245, 100%, 54%)
CMYKcmyk(91%, 100%, 0%, 46%)
CIE LABlab(15.02, 50.3, -67.59)
CIE LCHlch(15.02, 84.25, 306.65)
CIE XYZxyz(4.737, 1.913, 24.159)
Decimal786570
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C008A, 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 #0C008ARatioAAAAAAA large
Sample text1.38:1FailFailFail
Sample text15.19:1PassPassPass
#0C008A as text onRatioAAAAAAA large
Sample text15.19:1PassPassPass
Sample text1.38: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 #0C008A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c008a; }
.text { color: #0c008a; }
.border { border: 2px solid #0c008a; }
.transparent { background-color: rgb(12 0 138 / 50%); }
.gradient { background: linear-gradient(to right, #0c008a, #51008a); }
Background
Text color
Border

Similar colors

Questions

What color is #0C008A?
#0C008A is a dark, vivid blue, closest to the named color Dark Blue. It belongs to the blue family of colors.
What is the RGB value of #0C008A?
The RGB value is 12, 0, 138: 12 red, 0 green and 138 blue on a 0 to 255 scale.
What is the complementary color of #0C008A?
The complementary color is #7E8A00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C008A?
White text. Black text has a contrast ratio of 1.38:1 and white text 15.19:1. WCAG asks for at least 4.5:1 for normal text.