#0C335F color

#0C335F rgb(12, 51, 95)
Shades of blue

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

In the RGB color model it is made of 4.7% red, 20% green and 37.3% blue (12, 51, 95).

Its hue angle is 212°, with 78% saturation and 21% lightness. For print, the CMYK equivalent is 87% cyan, 46% magenta, 0% yellow and 63% black.

The closest named color is Neptune’s Dream (#003368), a difference of 1.5 ΔE, which is barely visible.

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

#0C335F color codes

HEX#0C335F
RGBrgb(12, 51, 95)
RGB percentrgb(4.7%, 20%, 37.3%)
HSLhsl(212, 78%, 21%)
HSV / HSBhsv(212, 87%, 37%)
CMYKcmyk(87%, 46%, 0%, 63%)
CIE LABlab(21.1, 4.83, -29.96)
CIE LCHlch(21.1, 30.34, 279.17)
CIE XYZxyz(3.4, 3.272, 11.277)
Decimal799583
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C335F, 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 #0C335FRatioAAAAAAA large
Sample text1.65:1FailFailFail
Sample text12.69:1PassPassPass
#0C335F as text onRatioAAAAAAA large
Sample text12.69:1PassPassPass
Sample text1.65: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 #0C335F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c335f; }
.text { color: #0c335f; }
.border { border: 2px solid #0c335f; }
.transparent { background-color: rgb(12 51 95 / 50%); }
.gradient { background: linear-gradient(to right, #0c335f, #0f0c5f); }
Background
Text color
Border

Similar colors

Questions

What color is #0C335F?
#0C335F is a dark, moderate azure, closest to the named color Neptune’s Dream. It belongs to the blue family of colors.
What is the RGB value of #0C335F?
The RGB value is 12, 51, 95: 12 red, 51 green and 95 blue on a 0 to 255 scale.
What is the complementary color of #0C335F?
The complementary color is #5F380C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C335F?
White text. Black text has a contrast ratio of 1.65:1 and white text 12.69:1. WCAG asks for at least 4.5:1 for normal text.