Naval to Galaxy Express Gradient
CSS
background: linear-gradient(90deg, #41729f 0%, #444499 100%);
From Naval (#41729F) to Galaxy Express (#444499). 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 | |
|---|---|---|---|---|---|
| Naval | #41729F | 65, 114, 159 | 209°, 42%, 44% | 59, 28, 0, 38 | |
| 25% (near Starstruck) | #42679E | 66, 103, 158 | 216°, 41%, 44% | 58, 35, 0, 38 | |
| 50% (near Starstruck) | #435B9C | 67, 91, 156 | 224°, 40%, 44% | 57, 42, 0, 39 | |
| 75% (near Galaxy Express) | #43509B | 67, 80, 155 | 231°, 40%, 44% | 57, 48, 0, 39 | |
| Galaxy Express | #444499 | 68, 68, 153 | 240°, 38%, 43% | 56, 56, 0, 40 |
Halfway along, the gradient is #435B9C, closest to the named color Starstruck. 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.63:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #41729f, #444499) - Diagonal:
linear-gradient(135deg, #41729f, #444499) - Radial, from the center out:
radial-gradient(circle, #41729f, #444499) - Tailwind CSS:
bg-gradient-to-r from-[#41729f] to-[#444499]
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 Naval to Galaxy Express gradient?
It starts at #41729F (Naval) and ends at #444499 (Galaxy Express), with #435B9C in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #41729f, #444499) runs from Galaxy Express on the left to Naval on the right.