Skip to the color picker

#0c1d42 color: Midnight Mirage

#0c1d42 is rgb(12, 29, 66) in RGB and oklch(24.1% 0.07386 263.351) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

221°
100%

24.1%
0.074
263°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 74%

Inside sRGB: displays the same on any screen.

White text
16.53:1Readable · AA
Lc -106
Black text
1.27: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 #0c1d42

#0c1d42 is a soft very dark blue color. In OKLCH it has 24.1% lightness, 0.074 chroma and a hue of 263°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Midnight Mirage (#001f3f). In Tailwind CSS the closest color is indigo-950.

More very dark blue colors

Lighter: #0c1d42 mixed with white

Darker: #0c1d42 mixed with black

  1. 000000

Calmer: #0c1d42 with less saturation

Similar named colors

Colors that go with #0c1d42

Complementary
Analogous
Triadic
Split

Questions about #0c1d42

What color is #0c1d42?

#0c1d42 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(12, 29, 66), in HSL hsl(221.11, 69.23%, 15.29%) and in OKLCH oklch(24.1% 0.07386 263.351).

What colors go well with #0c1d42?

The complementary color of #0c1d42 is #2f1b00. For a calmer combination use the analogous colors #00243c and #22163f. The triadic partners are #3c0c0e and #032804.

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

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

Is #0c1d42 a warm or cool color?

#0c1d42 is a cool color. In OKLCH its hue is 263 degrees, its lightness 24.1% and its chroma 0.074.