Dodger Blue to Bluebonnet Gradient
CSS
background: linear-gradient(90deg, #1e90ff 0%, #1c1cf0 100%);
From Dodger Blue (#1E90FF) to Bluebonnet (#1C1CF0). The two hues are 30° 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 | OKLCH | |
|---|---|---|---|---|---|---|
| Dodger Blue | #1E90FF | 30, 144, 255 | 210°, 100%, 56% | 88, 44, 0, 0 | 65.2% 0.190 253 | |
| 25% (near Bluerocratic) | #1E73FB | 30, 115, 251 | 217°, 97%, 55% | 88, 54, 0, 2 | 58.9% 0.218 260 | |
| 50% (near Bluerocratic) | #1D56F8 | 29, 86, 248 | 224°, 94%, 54% | 88, 65, 0, 3 | 53.2% 0.247 264 | |
| 75% (near Vivid Blue) | #1D39F4 | 29, 57, 244 | 232°, 91%, 54% | 88, 77, 0, 4 | 48.4% 0.271 266 | |
| Bluebonnet | #1C1CF0 | 28, 28, 240 | 240°, 88%, 53% | 88, 88, 0, 6 | 45.0% 0.286 267 |
Halfway along, the gradient is #1D56F8, closest to the named color Bluerocratic. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on the Dodger Blue end and white text on the Bluebonnet end. For a single line of text across the whole width, put it on a solid panel or pick the side it sits on. The two end colors have a contrast ratio of 2.62:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #1e90ff, #1c1cf0) - Diagonal:
linear-gradient(135deg, #1e90ff, #1c1cf0) - Radial, from the center out:
radial-gradient(circle, #1e90ff, #1c1cf0) - Tailwind CSS:
bg-gradient-to-r from-[#1e90ff] to-[#1c1cf0]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Dodger Blue to Bluebonnet gradient?
It starts at #1E90FF (Dodger Blue) and ends at #1C1CF0 (Bluebonnet), with #1D56F8 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #1e90ff, #1c1cf0) runs from Bluebonnet on the left to Dodger Blue on the right.