Easy Cobalt gradient
A 3-color linear CSS gradient from #2C0053 to #13D1FF, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #2C0053 | rgb(44, 0, 83) | oklch(24.4% 0.13 300) | 0% |
| #81AFFF | rgb(129, 175, 255) | oklch(75.4% 0.126 261) | 50% |
| #13D1FF | rgb(19, 209, 255) | oklch(79.8% 0.145 221.6) | 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(45deg, #2C0053, #81AFFF, #13D1FF); background: linear-gradient(45deg in oklch, #2C0053, #81AFFF, #13D1FF);
Tailwind CSS v4
bg-linear-45/oklch from-[#2C0053] via-[#81AFFF] to-[#13D1FF]
Make it your own
Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.
Related gradients
- Cozy Windsweptlinear-gradient(90deg, #7B7FC2, #89AADF, #9BD8FF)
- Velvet Borealislinear-gradient(120deg, #001C1A, #008AC3, #2F2E9A, #310032)
- Quiet Irislinear-gradient(315deg, #390020, #A06FFF, #3BB6FF)
- Soft Dusk Lakelinear-gradient(315deg, #213074, #777EE3, #DDE3FF)
- Morning Dusk Lakelinear-gradient(90deg, #7F66B7, #68A5E4, #8BF4FF)
- Hazy Deep Waterlinear-gradient(315deg, #002932, #406884, #C0A7F7)
- Obsidian Harbourlinear-gradient(270deg, #000B15, #14234D, #453768)
- Mellow Sapphirelinear-gradient(200deg, #C0A5FF, #2A93FF, #006E7C)