#0C3145 color

#0C3145 rgb(12, 49, 69)
Shades of blue

The hex color #0C3145 is a very dark, moderate azure.

In the RGB color model it is made of 4.7% red, 19.2% green and 27.1% blue (12, 49, 69).

Its hue angle is 201°, with 70% saturation and 16% lightness. For print, the CMYK equivalent is 83% cyan, 29% magenta, 0% yellow and 73% black.

The closest named color is Sea of Stars (#0B334D), a difference of 2.8 ΔE, a small difference.

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

#0C3145 color codes

HEX#0C3145
RGBrgb(12, 49, 69)
RGB percentrgb(4.7%, 19.2%, 27.1%)
HSLhsl(201, 70%, 16%)
HSV / HSBhsv(201, 83%, 27%)
CMYKcmyk(83%, 29%, 0%, 73%)
CIE LABlab(18.82, -4.96, -16.2)
CIE LCHlch(18.82, 16.94, 252.97)
CIE XYZxyz(2.324, 2.704, 6.029)
Decimal799045
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C3145, 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 #0C3145RatioAAAAAAA large
Sample text1.54:1FailFailFail
Sample text13.63:1PassPassPass
#0C3145 as text onRatioAAAAAAA large
Sample text13.63:1PassPassPass
Sample text1.54: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 #0C3145 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c3145; }
.text { color: #0c3145; }
.border { border: 2px solid #0c3145; }
.transparent { background-color: rgb(12 49 69 / 50%); }
.gradient { background: linear-gradient(to right, #0c3145, #0c1545); }
Background
Text color
Border

Similar colors

Closest common color name: Prussian Blue.

Questions

What color is #0C3145?
#0C3145 is a very dark, moderate azure, closest to the named color Sea of Stars. It belongs to the blue family of colors.
What is the RGB value of #0C3145?
The RGB value is 12, 49, 69: 12 red, 49 green and 69 blue on a 0 to 255 scale.
What is the complementary color of #0C3145?
The complementary color is #45200C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C3145?
White text. Black text has a contrast ratio of 1.54:1 and white text 13.63:1. WCAG asks for at least 4.5:1 for normal text.