#0C313E color

#0C313E rgb(12, 49, 62)
Shades of blue

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

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

Its hue angle is 196°, with 68% saturation and 15% lightness. For print, the CMYK equivalent is 81% cyan, 21% magenta, 0% yellow and 76% black.

The closest named color is Nordic Noir (#003344), a difference of 1.9 ΔE, which is barely visible.

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

#0C313E color codes

HEX#0C313E
RGBrgb(12, 49, 62)
RGB percentrgb(4.7%, 19.2%, 24.3%)
HSLhsl(196, 68%, 15%)
HSV / HSBhsv(196, 81%, 24%)
CMYKcmyk(81%, 21%, 0%, 76%)
CIE LABlab(18.46, -7.82, -11.97)
CIE LCHlch(18.46, 14.3, 236.83)
CIE XYZxyz(2.119, 2.622, 4.951)
Decimal799038
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Gunmetal.

Questions

What color is #0C313E?
#0C313E is a very dark, moderate azure, closest to the named color Nordic Noir. It belongs to the blue family of colors.
What is the RGB value of #0C313E?
The RGB value is 12, 49, 62: 12 red, 49 green and 62 blue on a 0 to 255 scale.
What is the complementary color of #0C313E?
The complementary color is #3E190C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C313E?
White text. Black text has a contrast ratio of 1.52:1 and white text 13.77:1. WCAG asks for at least 4.5:1 for normal text.