Midnight Blue
#191970The midnight blue hex code is #191970, and its RGB value is 25, 25, 112.
Midnight blue is a very dark blue with a slight purple tint, close to navy, defined in CSS as midnightblue #191970. It's popular for evening wear, night-themed designs and dark backgrounds that feel softer than black. White text reaches 14.9:1 on it.
Midnight Blue color codes
Shades of midnight blue
Ten lighter and ten darker shades of midnight blue, with midnight blue in the middle. Click a shade to copy its hex code.
Readability
- Passes AA normal
- Passes AA large
- Passes AAA normal
- Passes AAA large
- Fails AA and AAA
Colors that go with midnight blue
Complementary
The opposite on the color wheelAnalogous
Its two neighborsTriadic
Three evenly spaced colorsSplit-complementary
The two colors beside its oppositeMidnight Blue color palettes
Monochrome
Lighter and darker versions of the same color.Analogous
Neighbors on the color wheel, for a calm, related look.Complementary
The color with its opposite, for strong contrast.Triadic
Three colors evenly spaced around the wheel, with a light and dark version.Midnight Blue background
Plain and gradient midnight blue backgrounds for phone and desktop wallpapers, slides and mockups, free to download.
Similar colors
Questions about midnight blue
What is the hex code for midnight blue?
The hex code for midnight blue is #191970. In RGB it's rgb(25, 25, 112), and in HSL it's hsl(240, 64%, 27%).
What is the RGB value of midnight blue?
Midnight Blue is rgb(25, 25, 112) in RGB: 25 red, 25 green and 112 blue on a 0-255 scale.
What colors go with midnight blue?
Its complementary color is #707019. For a calmer look, try the analogous colors #194570 and #451970, or one of the palettes above, which all include midnight blue.
Is text readable on midnight blue?
White text is the better choice, with a contrast ratio of 14.85:1. That passes WCAG AA for normal text.