Electric Dusk Road gradient

A 3-color linear CSS gradient from #2D338F to #F7EE55, interpolated in OKLCH so the middle stays vivid.

SunsetVibrantYellowPink

Stops

HEXRGBOKLCHPosition
#2D338F rgb(45, 51, 143) oklch(37.8% 0.15 273.9) 0%
#C1538F rgb(193, 83, 143) oklch(60% 0.156 348.9) 50%
#F7EE55 rgb(247, 238, 85) oklch(92.9% 0.168 106) 100%

CSS

The first declaration is a plain sRGB gradient for every browser. The second interpolates in OKLCH, which keeps the middle as vivid as the ends.

background: linear-gradient(225deg, #2D338F, #C1538F, #F7EE55);
background: linear-gradient(225deg in oklch, #2D338F, #C1538F, #F7EE55);

Tailwind CSS v4

bg-linear-225/oklch from-[#2D338F] via-[#C1538F] to-[#F7EE55]

Make it your own

Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.