Lightsaber Blue to Hadfield Blue Gradient
CSS
background: linear-gradient(90deg, #15f2fd 0%, #1177ff 100%);
From Lightsaber Blue (#15F2FD) to Hadfield Blue (#1177FF). The two hues are 31° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Lightsaber Blue | #15F2FD | 21, 242, 253 | 183°, 98%, 54% | 92, 4, 0, 1 | |
| 25% (near Neon Blue) | #14D3FE | 20, 211, 254 | 191°, 99%, 54% | 92, 17, 0, 0 | |
| 50% (near Hawaii Morning) | #13B5FE | 19, 181, 254 | 199°, 99%, 54% | 93, 29, 0, 0 | |
| 75% (near Out of the Blue) | #1296FF | 18, 150, 255 | 207°, 100%, 54% | 93, 41, 0, 0 | |
| Hadfield Blue | #1177FF | 17, 119, 255 | 214°, 100%, 53% | 93, 53, 0, 0 |
Halfway along, the gradient is #13B5FE, closest to the named color Hawaii Morning. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 2.97:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #15f2fd, #1177ff) - Diagonal:
linear-gradient(135deg, #15f2fd, #1177ff) - Radial, from the center out:
radial-gradient(circle, #15f2fd, #1177ff) - Tailwind CSS:
bg-gradient-to-r from-[#15f2fd] to-[#1177ff]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Lightsaber Blue to Hadfield Blue gradient?
It starts at #15F2FD (Lightsaber Blue) and ends at #1177FF (Hadfield Blue), with #13B5FE in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #15f2fd, #1177ff) runs from Hadfield Blue on the left to Lightsaber Blue on the right.