Sea Goddess to Deep Space Royal Gradient
CSS
background: linear-gradient(90deg, #216987 0%, #223382 100%);
From Sea Goddess (#216987) to Deep Space Royal (#223382). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Sea Goddess | #216987 | 33, 105, 135 | 198°, 61%, 33% | 76, 22, 0, 47 | |
| 25% (near Oceanic Motion) | #215C86 | 33, 92, 134 | 205°, 60%, 33% | 75, 31, 0, 47 | |
| 50% (near Night Mode) | #224E85 | 34, 78, 133 | 213°, 59%, 33% | 74, 41, 0, 48 | |
| 75% (near Maritime Outpost) | #224183 | 34, 65, 131 | 221°, 59%, 32% | 74, 50, 0, 49 | |
| Deep Space Royal | #223382 | 34, 51, 130 | 229°, 59%, 32% | 74, 61, 0, 49 |
Halfway along, the gradient is #224E85, closest to the named color Night Mode. 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.84:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #216987, #223382) - Diagonal:
linear-gradient(135deg, #216987, #223382) - Radial, from the center out:
radial-gradient(circle, #216987, #223382) - Tailwind CSS:
bg-gradient-to-r from-[#216987] to-[#223382]
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 Sea Goddess to Deep Space Royal gradient?
It starts at #216987 (Sea Goddess) and ends at #223382 (Deep Space Royal), with #224E85 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #216987, #223382) runs from Deep Space Royal on the left to Sea Goddess on the right.