Royal Neptune to Eternal Darkness Gradient
CSS
background: linear-gradient(90deg, #1c3b42 0%, #1c2841 100%);
From Royal Neptune (#1C3B42) to Eternal Darkness (#1C2841). The two hues are 29° 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 | |
|---|---|---|---|---|---|
| Royal Neptune | #1C3B42 | 28, 59, 66 | 191°, 40%, 18% | 58, 11, 0, 74 | |
| 25% (near Into the Night) | #1C3642 | 28, 54, 66 | 199°, 40%, 18% | 58, 18, 0, 74 | |
| 50% (near Blue Whale) | #1C3242 | 28, 50, 66 | 205°, 40%, 18% | 58, 24, 0, 74 | |
| 75% (near Eternal Darkness) | #1C2D41 | 28, 45, 65 | 212°, 40%, 18% | 57, 31, 0, 75 | |
| Eternal Darkness | #1C2841 | 28, 40, 65 | 221°, 40%, 18% | 57, 38, 0, 75 |
Halfway along, the gradient is #1C3242, closest to the named color Blue Whale. 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.23:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #1c3b42, #1c2841) - Diagonal:
linear-gradient(135deg, #1c3b42, #1c2841) - Radial, from the center out:
radial-gradient(circle, #1c3b42, #1c2841) - Tailwind CSS:
bg-gradient-to-r from-[#1c3b42] to-[#1c2841]
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 Royal Neptune to Eternal Darkness gradient?
It starts at #1C3B42 (Royal Neptune) and ends at #1C2841 (Eternal Darkness), with #1C3242 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #1c3b42, #1c2841) runs from Eternal Darkness on the left to Royal Neptune on the right.