Skip to the color picker

#051f42 color: Midnight Mirage

#051f42 is rgb(5, 31, 66) in RGB and oklch(24.299% 0.07365 256.895) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

214°
100%

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

Inside sRGB: displays the same on any screen.

White text
16.39:1Readable · AA
Lc -106
Black text
1.28: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 #051f42

#051f42 is a soft very dark blue color. In OKLCH it has 24.3% lightness, 0.074 chroma and a hue of 257°.

Inside sRGB: displays the same on any screen.

White text on it reaches 16.39:1 contrast and black text 1.28: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: #051f42 mixed with white

Darker: #051f42 mixed with black

  1. 000000

Calmer: #051f42 with less saturation

Similar named colors

Colors that go with #051f42

Complementary
Analogous
Triadic
Split

Questions about #051f42

What color is #051f42?

#051f42 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(5, 31, 66), in HSL hsl(214.43, 85.92%, 13.92%) and in OKLCH oklch(24.299% 0.07365 256.895).

What colors go well with #051f42?

The complementary color of #051f42 is #321a00. For a calmer combination use the analogous colors #002539 and #1f1841. The triadic partners are #3c0d13 and #0c2700.

Is white or black text more readable on #051f42?

White text reads better on #051f42: white gives a contrast ratio of 16.39:1 and black gives 1.28:1. WCAG AA asks for at least 4.5:1 for body text.

Is #051f42 a warm or cool color?

#051f42 is a cool color. In OKLCH its hue is 257 degrees, its lightness 24.3% and its chroma 0.074.