#0C193C color

#0C193C rgb(12, 25, 60)
Shades of black

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

In the RGB color model it is made of 4.7% red, 9.8% green and 23.5% blue (12, 25, 60).

Its hue angle is 224°, with 67% saturation and 14% lightness. For print, the CMYK equivalent is 80% cyan, 58% magenta, 0% yellow and 76% black.

The closest named color is Nightwalker (#161D3B), a difference of 2.4 ΔE, a small difference.

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

#0C193C color codes

HEX#0C193C
RGBrgb(12, 25, 60)
RGB percentrgb(4.7%, 9.8%, 23.5%)
HSLhsl(224, 67%, 14%)
HSV / HSBhsv(224, 80%, 24%)
CMYKcmyk(80%, 58%, 0%, 76%)
CIE LABlab(9.79, 8.84, -24.25)
CIE LCHlch(9.79, 25.81, 290.02)
CIE XYZxyz(1.315, 1.1, 4.417)
Decimal792892
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C193C, 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 #0C193CRatioAAAAAAA large
Sample text1.22:1FailFailFail
Sample text17.21:1PassPassPass
#0C193C as text onRatioAAAAAAA large
Sample text17.21:1PassPassPass
Sample text1.22: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 #0C193C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c193c; }
.text { color: #0c193c; }
.border { border: 2px solid #0c193c; }
.transparent { background-color: rgb(12 25 60 / 50%); }
.gradient { background: linear-gradient(to right, #0c193c, #170c3c); }
Background
Text color
Border

Similar colors

Questions

What color is #0C193C?
#0C193C is a very dark, moderate blue, closest to the named color Nightwalker. It belongs to the black family of colors.
What is the RGB value of #0C193C?
The RGB value is 12, 25, 60: 12 red, 25 green and 60 blue on a 0 to 255 scale.
What is the complementary color of #0C193C?
The complementary color is #3C2F0C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C193C?
White text. Black text has a contrast ratio of 1.22:1 and white text 17.21:1. WCAG asks for at least 4.5:1 for normal text.