Skip to the color picker

#052040 color: Midnight Mirage

#052040 is rgb(5, 32, 64) in RGB and oklch(24.402% 0.06906 254.814) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

213°
100%

24.4%
0.069
255°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 75%

Inside sRGB: displays the same on any screen.

White text
16.32: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 #052040

#052040 is a soft very dark blue color. In OKLCH it has 24.4% lightness, 0.069 chroma and a hue of 255°.

Inside sRGB: displays the same on any screen.

White text on it reaches 16.32: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: #052040 mixed with white

Darker: #052040 mixed with black

  1. 000000

Calmer: #052040 with less saturation

Similar named colors

Colors that go with #052040

Complementary
Analogous
Triadic
Split

Questions about #052040

What color is #052040?

#052040 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(5, 32, 64), in HSL hsl(212.54, 85.51%, 13.53%) and in OKLCH oklch(24.402% 0.06906 254.814).

What colors go well with #052040?

The complementary color of #052040 is #331a00. For a calmer combination use the analogous colors #002638 and #1e1a3f. The triadic partners are #3b0f15 and #102701.

Is white or black text more readable on #052040?

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

Is #052040 a warm or cool color?

#052040 is a cool color. In OKLCH its hue is 255 degrees, its lightness 24.4% and its chroma 0.069.