#0C123F color

#0C123F rgb(12, 18, 63)
Shades of black

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

In the RGB color model it is made of 4.7% red, 7.1% green and 24.7% blue (12, 18, 63).

Its hue angle is 233°, with 68% saturation and 15% lightness. For print, the CMYK equivalent is 81% cyan, 71% magenta, 0% yellow and 75% black.

The closest named color is Deadly Depths (#111144), a difference of 1.8 ΔE, which is barely visible.

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

#0C123F color codes

HEX#0C123F
RGBrgb(12, 18, 63)
RGB percentrgb(4.7%, 7.1%, 24.7%)
HSLhsl(233, 68%, 15%)
HSV / HSBhsv(233, 81%, 25%)
CMYKcmyk(81%, 71%, 0%, 75%)
CIE LABlab(7.85, 15.67, -29.54)
CIE LCHlch(7.85, 33.43, 297.94)
CIE XYZxyz(1.265, 0.87, 4.803)
Decimal791103
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #0c123f; }
.text { color: #0c123f; }
.border { border: 2px solid #0c123f; }
.transparent { background-color: rgb(12 18 63 / 50%); }
.gradient { background: linear-gradient(to right, #0c123f, #200c3f); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

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