Midnight Navy

Customize and copy the CSS

Code

background: #1E293B;
background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);

Color stops

Color stops
StopPositionHEXRGBHSLOKLCH
Stop 10%
Stop 2100%

Save image

Image size

About Midnight Navy

Midnight Navy is a cool blue gradient that runs from #1E293B to #0F172A. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #162032.

Both colors are very dark (28% and 21% lightness), with an average look that is muted. The colors stay within a 6° slice of the color wheel, so the blend reads as one hue changing in lightness rather than a shift between colors.

It suits SaaS landing pages, dashboards and trustworthy brand headers. White text keeps at least 14.6:1 contrast across every stop, which passes WCAG AA for body text.

Dark gradients like this one sit comfortably behind light text and cards. A radial shape turns it into a soft glow, and the reverse button swaps which end is darker.

Midnight Navy gradient: #1E293B, #0F172A

Blue color palettes

See all