Skip to the color picker

#0a2040 color: Midnight Mirage

#0a2040 is rgb(10, 32, 64) in RGB and oklch(24.624% 0.06699 258.061) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

216°
100%

24.6%
0.067
258°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 75%

Inside sRGB: displays the same on any screen.

White text
16.23: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 #0a2040

#0a2040 is a soft very dark blue color. In OKLCH it has 24.6% lightness, 0.067 chroma and a hue of 258°.

Inside sRGB: displays the same on any screen.

White text on it reaches 16.23:1 contrast and black text 1.29: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: #0a2040 mixed with white

Darker: #0a2040 mixed with black

  1. 000000

Calmer: #0a2040 with less saturation

Similar named colors

Colors that go with #0a2040

Complementary
Analogous
Triadic
Split

Questions about #0a2040

What color is #0a2040?

#0a2040 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(10, 32, 64), in HSL hsl(215.56, 72.97%, 14.51%) and in OKLCH oklch(24.624% 0.06699 258.061).

What colors go well with #0a2040?

The complementary color of #0a2040 is #321b00. For a calmer combination use the analogous colors #002639 and #201a3e. The triadic partners are #3b1014 and #0e2805.

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

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

Is #0a2040 a warm or cool color?

#0a2040 is a cool color. In OKLCH its hue is 258 degrees, its lightness 24.6% and its chroma 0.067.