Midnight Blue
#191970
Midnight Blue is a blue tone at #191970. It sits at 240 degrees on the color wheel with 64% saturation and 27% lightness.
Color values
#191970
Midnight Blue is a blue tone at #191970. It sits at 240 degrees on the color wheel with 64% saturation and 27% lightness.
Color values
Tints mix Midnight Blue with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.
On white14.85:1
Passes AAA for body textOn black1.41:1
Fails WCAG for textCheck a specific pairing in the contrast checker.
4 questions people ask about Midnight Blue.
The hex code for Midnight Blue is #191970. In RGB that is rgb(25, 25, 112), and in HSL it is hsl(240, 64%, 27%).
Midnight Blue is 25 red, 25 green, and 112 blue, written as rgb(25, 25, 112).
Midnight Blue scores 14.85:1 against white. WCAG AA needs 4.5:1 for body text, so it passes.
Yes. You can write color: midnightblue directly in CSS, which every browser resolves to #191970.