Dim Iris gradient

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

DarkCoolBluePurple

Stops

HEXRGBOKLCHPosition
#2C5A7E rgb(44, 90, 126) oklch(45.2% 0.078 244.4) 0%
#282A60 rgb(40, 42, 96) oklch(31.6% 0.094 278) 50%
#150022 rgb(21, 0, 34) oklch(15.1% 0.076 310.5) 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(180deg, #2C5A7E, #282A60, #150022);
background: linear-gradient(180deg in oklch, #2C5A7E, #282A60, #150022);

Tailwind CSS v4

bg-linear-180/oklch from-[#2C5A7E] via-[#282A60] to-[#150022]

Make it your own

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