Olympian Blue to Indiglow Gradient
CSS
background: linear-gradient(90deg, #1c4c8c 0%, #301885 100%);
From Olympian Blue (#1C4C8C) to Indiglow (#301885). The two hues are 39° 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 | |
|---|---|---|---|---|---|
| Olympian Blue | #1C4C8C | 28, 76, 140 | 214°, 67%, 33% | 80, 46, 0, 45 | |
| 25% (near Pacific Navy) | #213F8A | 33, 63, 138 | 223°, 61%, 34% | 76, 54, 0, 46 | |
| 50% (near Intergalactic Highway) | #263289 | 38, 50, 137 | 233°, 57%, 34% | 72, 64, 0, 46 | |
| 75% (near Intergalactic Highway) | #2B2587 | 43, 37, 135 | 244°, 57%, 34% | 68, 73, 0, 47 | |
| Indiglow | #301885 | 48, 24, 133 | 253°, 69%, 31% | 64, 82, 0, 48 |
Halfway along, the gradient is #263289, closest to the named color Intergalactic Highway. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.54:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #1c4c8c, #301885) - Diagonal:
linear-gradient(135deg, #1c4c8c, #301885) - Radial, from the center out:
radial-gradient(circle, #1c4c8c, #301885) - Tailwind CSS:
bg-gradient-to-r from-[#1c4c8c] to-[#301885]
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 Olympian Blue to Indiglow gradient?
It starts at #1C4C8C (Olympian Blue) and ends at #301885 (Indiglow), with #263289 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #1c4c8c, #301885) runs from Indiglow on the left to Olympian Blue on the right.