niceui

Blue Gradient

A free linear gradient you can copy as CSS or Tailwind. Sky, ocean and electric blues for tech products and dashboards.

CSS

.blue-bg {
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
}

Tailwind CSS

With Tailwind's gradient utilities:

bg-gradient-to-br from-[#2563eb] to-[#38bdf8]

Or the exact gradient as an arbitrary value:

bg-[image:linear-gradient(135deg,#2563eb_0%,#38bdf8_100%)]
Edit this gradient in the Gradient MakerMesh, conic and animated shader gradients, grain, PNG export and one-click CSS, Tailwind, React or HTML.

FAQ

How do I use the blue gradient in CSS?

Set background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%); on any element. It works in every modern browser.

How do I use the blue gradient in Tailwind?

Use bg-gradient-to-br from-[#2563eb] to-[#38bdf8], or the exact arbitrary value bg-[image:linear-gradient(135deg,#2563eb_0%,#38bdf8_100%)].

Similar gradients

More: Blue gradientsAll gradients