Home › Colors › Midnight blue
Midnight blue color #191970 A very dark blue, like a moonless night sky. It's a softer alternative to black. It's used for evening wear, bedrooms and elegant backgrounds.
The hex code for midnight blue is #191970. In RGB it is rgb(25, 25, 112), in HSL hsl(240, 64%, 27%) and in CMYK 78, 78, 0, 56.
HEX #191970 RGB rgb(25, 25, 112) HSL hsl(240, 64%, 27%) HSB 240°, 78%, 44% CMYK 78, 78, 0, 56 LAB 16, 32, -50
Colors similar to midnight blue
About midnight blue Midnight blue (#191970) is a cool, dark, moderately saturated color. It belongs to the blues family. It mixes 25 red, 25 green and 112 blue (out of 255). It is mostly used in fashion, home decor, events.
Midnight blue · #191970
Midnight blue shades and tints From lightest to darkest. Tap a shade to copy its code.
#DCDCEA Copied #BABAD4 Copied #8C8CB8 Copied #5E5E9B Copied #191970 Copied #14145A Copied #0F0F43 Copied #0A0A2D Copied #050516 Copied
See all its shades: Color shades generator
Outfit colors by season and style 80 palettes for men and women, each with 8 outfits to copy: quiet luxury, beach, mountain, office and more. See outfit palettes
Midnight blue color harmonies Combinations based on the color wheel. More in the color harmony tool .
#191970 Copied #707019 Copied
Complementary
Close to: Hazel #194470 Copied #191970 Copied #441970 Copied
#191970 Copied #701919 Copied #197019 Copied
#191970 Copied #704419 Copied #457019 Copied
#191970 Copied #701945 Copied #707019 Copied #197045 Copied
Midnight blue color palettes Copy the codes or open a palette in the editor to tweak it.
#DEDEF8 Copied #A3A3EB Copied #191970 Copied #0B0B32 Copied #070721 Copied
#387CAD Copied #1F3F89 Copied #191970 Copied #281357 Copied #2A103C Copied
#F0F0F5 Copied #B9B9DF Copied #191970 Copied #929221 Copied #191929 Copied
#E6BDBD Copied #191970 Copied #267326 Copied #8D3F3F Copied #FAFAF7 Copied
#F2F4F6 Copied #C9D1D9 Copied #191970 Copied #5B6672 Copied #1E252C Copied
#ECECF3 Copied #9A9ACB Copied #191970 Copied #09092A Copied #E2E236 Copied
Midnight blue contrast with text White text Contrast 14.8:1 · AAA
Black text Contrast 1.4:1 · Not recommended
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker .
CSS code Copy :root {
--midnight-blue: #191970;
--midnight-blue-rgb: 25, 25, 112;
}
.bg { background-color: var(--midnight-blue); }
.text { color: var(--midnight-blue); }
Colors similar to midnight blue
Where you'll see this color
Themed palettes with this color
Swatch of Midnight blue with its shades from light to dark · #191970 Frequently asked questions What is the hex code for midnight blue? The hex code for midnight blue is #191970. In RGB it is rgb(25, 25, 112), in HSL hsl(240, 64%, 27%) and in CMYK 78, 78, 0, 56.
What is the complementary color of midnight blue? Its complement on the color wheel is #707019, close to hazel. Used in small doses, it works as an accent and adds strong contrast.
Can you use white text on midnight blue? Yes. The contrast with white is 14.8:1, enough for body text (WCAG AA).
We use Google Analytics cookies to understand how the site is used. Is that OK? Learn more
Reject Accept