Denim Gradient
Ready-made denim gradients with copy-paste CSS — light, dark, complementary and background variations — plus a generator to build your own denim gradient.
A denim gradient blends denim (#2F5E8F) into another tone — lighter, darker, or a complementary colour. Below are ready-made denim gradients with copy-paste CSS, plus a generator to build your own.
Our color tools run on our own catalogue of 26,000+ real paint colors across 16 brands — Benjamin Moore, Sherwin-Williams, Behr, Dulux, RAL and more — with the color math (HSL and CIELAB matching) computed in-house, not scraped from summaries. Every color you pick maps to a real, buyable paint with its code, so what you see here you can actually take to the store. We review and update these tools and their data regularly.
Created by Denis Kataev, founder of DSGN.HOUSE — a software engineer and digital entrepreneur building professional color-design tools for everyone.
How do I make a denim gradient?+
Pick a denim base like #2F5E8F and a second tone (a lighter or darker denim, or a complementary colour), then blend them with CSS linear-gradient(). Use the generator below and copy the CSS.
What colours go in a denim gradient?+
Denim pairs well with a lighter or darker shade of itself, white or black for depth, or its complementary colour. The presets above show the best combinations.
What is the CSS for a denim gradient?+
For example: background: linear-gradient(90deg, #2F5E8F, #0E1C2A);. Each ready-made denim gradient above has its own copy-paste CSS.
Can I use these gradients for backgrounds?+
Yes — copy the CSS into any background property. The gradients work as website, app, phone-wallpaper and design backgrounds.