#0C317C color

#0C317C rgb(12, 49, 124)
Shades of blue

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

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

Its hue angle is 220°, with 82% saturation and 27% lightness. For print, the CMYK equivalent is 90% cyan, 60% magenta, 0% yellow and 51% black.

The closest named color is Below the Surface (#0A2F7C), a difference of 0.7 ΔE, which is barely visible.

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

#0C317C color codes

HEX#0C317C
RGBrgb(12, 49, 124)
RGB percentrgb(4.7%, 19.2%, 48.6%)
HSLhsl(220, 82%, 27%)
HSV / HSBhsv(220, 90%, 49%)
CMYKcmyk(90%, 60%, 0%, 51%)
CIE LABlab(22.76, 18.87, -45.97)
CIE LCHlch(22.76, 49.69, 292.32)
CIE XYZxyz(4.887, 3.729, 19.527)
Decimal799100
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Egyptian Blue.

Questions

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