Skip to the color picker

#051e3f color: Midnight Mirage

#051e3f is rgb(5, 30, 63) in RGB and oklch(23.774% 0.07026 256.48) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

214°
100%

23.8%
0.070
256°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 75%

Inside sRGB: displays the same on any screen.

White text
16.61:1Readable · AA
Lc -106
Black text
1.26: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 #051e3f

#051e3f is a soft very dark blue color. In OKLCH it has 23.8% lightness, 0.07 chroma and a hue of 256°.

Inside sRGB: displays the same on any screen.

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

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

More very dark blue colors

Lighter: #051e3f mixed with white

Darker: #051e3f mixed with black

  1. 000000

Calmer: #051e3f with less saturation

Similar named colors

Colors that go with #051e3f

Complementary
Analogous
Triadic
Split

Questions about #051e3f

What color is #051e3f?

#051e3f is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(5, 30, 63), in HSL hsl(214.14, 85.29%, 13.33%) and in OKLCH oklch(23.774% 0.07026 256.48).

What colors go well with #051e3f?

The complementary color of #051e3f is #301800. For a calmer combination use the analogous colors #002437 and #1d183e. The triadic partners are #390d13 and #0d2600.

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

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

Is #051e3f a warm or cool color?

#051e3f is a cool color. In OKLCH its hue is 256 degrees, its lightness 23.8% and its chroma 0.07.