#051f40 color: Midnight Mirage
#051f40 is rgb(5, 31, 64) in RGB and oklch(24.129% 0.07046 255.92) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Blue
- Very dark
- Soft
- Cool
- ≈ Midnight blue
- indigo-950
- Black 75%
Inside sRGB: displays the same on any screen.
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 #051f40
#051f40 is a soft very dark blue color. In OKLCH it has 24.1% lightness, 0.07 chroma and a hue of 256°.
Inside sRGB: displays the same on any screen.
White text on it reaches 16.45: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.
Lighter: #051f40 mixed with white
Darker: #051f40 mixed with black
Calmer: #051f40 with less saturation
Similar named colors
Colors that go with #051f40
Questions about #051f40
What color is #051f40?
#051f40 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(5, 31, 64), in HSL hsl(213.56, 85.51%, 13.53%) and in OKLCH oklch(24.129% 0.07046 255.92).
What colors go well with #051f40?
The complementary color of #051f40 is #321900. For a calmer combination use the analogous colors #002538 and #1e193f. The triadic partners are #3a0d14 and #0e2601.
Is white or black text more readable on #051f40?
White text reads better on #051f40: white gives a contrast ratio of 16.45:1 and black gives 1.28:1. WCAG AA asks for at least 4.5:1 for body text.
Is #051f40 a warm or cool color?
#051f40 is a cool color. In OKLCH its hue is 256 degrees, its lightness 24.1% and its chroma 0.07.