Dim Iris gradient
A 3-color linear CSS gradient from #2C5A7E to #150022, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #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.
Related gradients
- Velvet Borealislinear-gradient(120deg, #001C1A, #008AC3, #2F2E9A, #310032)
- Obsidian Harbourlinear-gradient(270deg, #000B15, #14234D, #453768)
- Smoked Plumlinear-gradient(45deg, #001218, #273867, #6A477D)
- Cozy Windsweptlinear-gradient(90deg, #7B7FC2, #89AADF, #9BD8FF)
- Evening Amethystlinear-gradient(225deg, #001249, #5F2169, #8F4244)
- Quiet Irislinear-gradient(315deg, #390020, #A06FFF, #3BB6FF)
- Soft Dusk Lakelinear-gradient(315deg, #213074, #777EE3, #DDE3FF)
- Noir Indigo Inklinear-gradient(315deg, #00635D, #003E53, #060040)