#0C181A color

#0C181A rgb(12, 24, 26)
Shades of black

The hex color #0C181A is a very dark, desaturated cyan.

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

Its hue angle is 189°, with 37% saturation and 7% lightness. For print, the CMYK equivalent is 54% cyan, 8% magenta, 0% yellow and 90% black.

The closest named color is Black Stallion (#0E191C), a difference of 0.9 ΔE, which is barely visible.

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

#0C181A color codes

HEX#0C181A
RGBrgb(12, 24, 26)
RGB percentrgb(4.7%, 9.4%, 10.2%)
HSLhsl(189, 37%, 7%)
HSV / HSBhsv(189, 54%, 10%)
CMYKcmyk(54%, 8%, 0%, 90%)
CIE LABlab(7.28, -4.15, -3.07)
CIE LCHlch(7.28, 5.16, 216.43)
CIE XYZxyz(0.665, 0.806, 1.098)
Decimal792602
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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