Maritime Outpost to Indiglow Gradient
CSS
background: linear-gradient(90deg, #1e4581 0%, #301885 100%);
From Maritime Outpost (#1E4581) to Indiglow (#301885). The two hues are 37° 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 | |
|---|---|---|---|---|---|
| Maritime Outpost | #1E4581 | 30, 69, 129 | 216°, 62%, 31% | 77, 47, 0, 49 | |
| 25% (near Deep Space Royal) | #233A82 | 35, 58, 130 | 225°, 58%, 32% | 73, 55, 0, 49 | |
| 50% (near Intergalactic Highway) | #272F83 | 39, 47, 131 | 235°, 54%, 33% | 70, 64, 0, 49 | |
| 75% (near Indiglow) | #2C2384 | 44, 35, 132 | 246°, 58%, 33% | 67, 73, 0, 48 | |
| Indiglow | #301885 | 48, 24, 133 | 253°, 69%, 31% | 64, 82, 0, 48 |
Halfway along, the gradient is #272F83, 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.39:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #1e4581, #301885) - Diagonal:
linear-gradient(135deg, #1e4581, #301885) - Radial, from the center out:
radial-gradient(circle, #1e4581, #301885) - Tailwind CSS:
bg-gradient-to-r from-[#1e4581] 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 Maritime Outpost to Indiglow gradient?
It starts at #1E4581 (Maritime Outpost) and ends at #301885 (Indiglow), with #272F83 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #1e4581, #301885) runs from Indiglow on the left to Maritime Outpost on the right.