#0C1867 color

#0C1867 rgb(12, 24, 103)
Shades of blue

The hex color #0C1867 is a dark, moderate blue.

In the RGB color model it is made of 4.7% red, 9.4% green and 40.4% blue (12, 24, 103).

Its hue angle is 232°, with 79% saturation and 23% lightness. For print, the CMYK equivalent is 88% cyan, 77% magenta, 0% yellow and 60% black.

The closest named color is Midnight Blue (#191970), a difference of 2 ΔE, which is barely visible.

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

#0C1867 color codes

HEX#0C1867
RGBrgb(12, 24, 103)
RGB percentrgb(4.7%, 9.4%, 40.4%)
HSLhsl(232, 79%, 23%)
HSV / HSBhsv(232, 88%, 40%)
CMYKcmyk(88%, 77%, 0%, 60%)
CIE LABlab(13.89, 27.87, -46.97)
CIE LCHlch(13.89, 54.61, 300.69)
CIE XYZxyz(2.926, 1.71, 13.005)
Decimal792679
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #0c1867; }
.text { color: #0c1867; }
.border { border: 2px solid #0c1867; }
.transparent { background-color: rgb(12 24 103 / 50%); }
.gradient { background: linear-gradient(to right, #0c1867, #2d0c67); }
Background
Text color
Border

Similar colors

Questions

What color is #0C1867?
#0C1867 is a dark, moderate blue, closest to the named color Midnight Blue. It belongs to the blue family of colors.
What is the RGB value of #0C1867?
The RGB value is 12, 24, 103: 12 red, 24 green and 103 blue on a 0 to 255 scale.
What is the complementary color of #0C1867?
The complementary color is #675B0C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C1867?
White text. Black text has a contrast ratio of 1.34:1 and white text 15.65:1. WCAG asks for at least 4.5:1 for normal text.