#0C0A1C color

#0C0A1C rgb(12, 10, 28)
Shades of black

The hex color #0C0A1C is a very dark, desaturated blue.

In the RGB color model it is made of 4.7% red, 3.9% green and 11% blue (12, 10, 28).

Its hue angle is 247°, with 47% saturation and 7% lightness. For print, the CMYK equivalent is 57% cyan, 64% magenta, 0% yellow and 89% black.

The closest named color is Corbeau (#111122), a difference of 1.6 ΔE, which is barely visible.

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

#0C0A1C color codes

HEX#0C0A1C
RGBrgb(12, 10, 28)
RGB percentrgb(4.7%, 3.9%, 11%)
HSLhsl(247, 47%, 7%)
HSV / HSBhsv(247, 64%, 11%)
CMYKcmyk(57%, 64%, 0%, 89%)
CIE LABlab(3.42, 4.48, -10.35)
CIE LCHlch(3.42, 11.28, 293.41)
CIE XYZxyz(0.47, 0.379, 1.147)
Decimal789020
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #0c0a1c; }
.text { color: #0c0a1c; }
.border { border: 2px solid #0c0a1c; }
.transparent { background-color: rgb(12 10 28 / 50%); }
.gradient { background: linear-gradient(to right, #0c0a1c, #150a1c); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Black.

Questions

What color is #0C0A1C?
#0C0A1C is a very dark, desaturated blue, closest to the named color Corbeau. It belongs to the black family of colors.
What is the RGB value of #0C0A1C?
The RGB value is 12, 10, 28: 12 red, 10 green and 28 blue on a 0 to 255 scale.
What is the complementary color of #0C0A1C?
The complementary color is #1A1C0A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C0A1C?
White text. Black text has a contrast ratio of 1.08:1 and white text 19.52:1. WCAG asks for at least 4.5:1 for normal text.