Skip to the color picker

#0c1f42 color: Dark Eclipse

#0c1f42 is rgb(12, 31, 66) in RGB and oklch(24.616% 0.07093 261.375) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

219°
100%

24.6%
0.071
261°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 74%

Inside sRGB: displays the same on any screen.

White text
16.28:1Readable · AA
Lc -106
Black text
1.29:1Hard to read
Lc 0

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #0c1f42

#0c1f42 is a soft very dark blue color. In OKLCH it has 24.6% lightness, 0.071 chroma and a hue of 261°.

Inside sRGB: displays the same on any screen.

White text on it reaches 16.28:1 contrast and black text 1.29:1, so white text reads better.

The closest named color is Dark Eclipse (#112244). In Tailwind CSS the closest color is indigo-950.

More very dark blue colors

Lighter: #0c1f42 mixed with white

Darker: #0c1f42 mixed with black

  1. 000000

Calmer: #0c1f42 with less saturation

Similar named colors

Colors that go with #0c1f42

Complementary
Analogous
Triadic
Split

Questions about #0c1f42

What color is #0c1f42?

#0c1f42 is soft very dark blue. The closest named color is Dark Eclipse. In RGB it is rgb(12, 31, 66), in HSL hsl(218.89, 69.23%, 15.29%) and in OKLCH oklch(24.616% 0.07093 261.375).

What colors go well with #0c1f42?

The complementary color of #0c1f42 is #311c00. For a calmer combination use the analogous colors #00253c and #22193f. The triadic partners are #3c0f11 and #082805.

Is white or black text more readable on #0c1f42?

White text reads better on #0c1f42: white gives a contrast ratio of 16.28:1 and black gives 1.29:1. WCAG AA asks for at least 4.5:1 for body text.

Is #0c1f42 a warm or cool color?

#0c1f42 is a cool color. In OKLCH its hue is 261 degrees, its lightness 24.6% and its chroma 0.071.