This midnight to sky blue to lavender linear gradient is an editable CSS color system generated with OKLCH-aware perceptual interpolation, multi-stop fallback compilation, and Tailwind CSS utility export. It preserves chroma during transitions, reducing muddy gray midpoints while giving developers production-ready CSS and designers precise visual control.

SEO gradient page

midnight to sky blue to lavender linear CSS gradient

Edit this gradient in the studio, copy production CSS, compare accessibility, and explore related color combinations generated from the same seed colors.

#1d1735#5ea7eb#9a8fde

Gradient guide

How to use this midnight to sky blue to lavender gradient

This linear gradient can be used as a hero background, dashboard card treatment, app shell backdrop, social visual, or landing page accent. The color sequence is parsed directly from the URL, which means the page can be shared, indexed, and revisited.

The export system creates a standard CSS fallback, a perceptual multi-stop fallback, and a modern OKLCH declaration where appropriate. That makes the output useful for production interfaces, not just screenshots or static inspiration boards.

Use the related-gradient matrix below to explore adjacent hues, lightness shifts, and route variations. Each link is generated deterministically so search crawlers and users always see stable, crawlable internal links.

Interactive editor

Edit this gradient

Physics Preview Workspace

Perceptual CSS gradients without muddy midpoints.

Build layered linear, radial, conic, and mesh gradients using OKLCH, LAB, HCL, easing curves, blend modes, and fallback compilers.

White text

7.51:1

WCAG AA friendly

Black text

5.60:1

WCAG AA friendly

Pre-rendered CSS output

.css-gradient-pro-gradient {
  background: linear-gradient(135deg, #1d1735 0%, #5ea7eb 50%, #9a8fde 100%);
  background: linear-gradient(135deg, #1d1735 0%, #1f1938 4.5%, #231e41 9.1%, #2b2851 13.6%, #353868 18.2%, #3f4b84 22.7%, #4962a1 27.3%, #5179bc 31.8%, #578dd1 36.4%, #5b9ce0 40.9%, #5da4e8 45.5%, #5ea7eb 50%, #5fa7ec 54.5%, #61a5ed 59.1%, #66a3ef 63.6%, #6da0f2 68.2%, #779cf2 72.7%, #8297f0 77.3%, #8b94ec 81.8%, #9292e6 86.4%, #9790e2 90.9%, #998fdf 95.5%, #9a8fde 100%);
  background: linear-gradient(135deg in oklch, oklch(22.93% 0.0566 290.42) 0%, oklch(70.96% 0.1241 248.41) 50%, oklch(69.09% 0.1148 289.42) 100%);
  background-blend-mode: normal;
}

Full-width inspiration gallery

120 mathematically tuned gradient collections.

Each preset links to an indexable dynamic route with deterministic related gradients, metadata, crawlable anchors, and editable OKLCH controls.