Atlantis to Space Missions Gradient
CSS
background: linear-gradient(90deg, #336172 0%, #324471 100%);
From Atlantis (#336172) to Space Missions (#324471). The two hues are 27° 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 | |
|---|---|---|---|---|---|
| Atlantis | #336172 | 51, 97, 114 | 196°, 38%, 32% | 55, 15, 0, 55 | |
| 25% (near Atlantis) | #335A72 | 51, 90, 114 | 203°, 38%, 32% | 55, 21, 0, 55 | |
| 50% (near Dragonfly) | #335372 | 51, 83, 114 | 210°, 38%, 32% | 55, 27, 0, 55 | |
| 75% (near Midnight Interlude) | #324B71 | 50, 75, 113 | 216°, 39%, 32% | 56, 34, 0, 56 | |
| Space Missions | #324471 | 50, 68, 113 | 223°, 39%, 32% | 56, 40, 0, 56 |
Halfway along, the gradient is #335372, closest to the named color Dragonfly. 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.41:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #336172, #324471) - Diagonal:
linear-gradient(135deg, #336172, #324471) - Radial, from the center out:
radial-gradient(circle, #336172, #324471) - Tailwind CSS:
bg-gradient-to-r from-[#336172] to-[#324471]
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 Atlantis to Space Missions gradient?
It starts at #336172 (Atlantis) and ends at #324471 (Space Missions), with #335372 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #336172, #324471) runs from Space Missions on the left to Atlantis on the right.