Hazy Deep Water gradient

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

OceanCoolBluePurple

Stops

HEXRGBOKLCHPosition
#002932 rgb(0, 41, 50) oklch(25.9% 0.046 216.4) 0%
#406884 rgb(64, 104, 132) oklch(50% 0.064 240.3) 50%
#C0A7F7 rgb(192, 167, 247) oklch(77.9% 0.115 298.1) 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(315deg, #002932, #406884, #C0A7F7);
background: linear-gradient(315deg in oklch, #002932, #406884, #C0A7F7);

Tailwind CSS v4

bg-linear-315/oklch from-[#002932] via-[#406884] to-[#C0A7F7]

Make it your own

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