Sunken Harbour to Eternal Darkness Gradient
CSS
background: linear-gradient(90deg, #1c3d44 0%, #1c2841 100%);
From Sunken Harbour (#1C3D44) to Eternal Darkness (#1C2841). The two hues are 30° 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 | |
|---|---|---|---|---|---|
| Sunken Harbour | #1C3D44 | 28, 61, 68 | 191°, 42%, 19% | 59, 10, 0, 73 | |
| 25% (near Into the Night) | #1C3843 | 28, 56, 67 | 197°, 41%, 19% | 58, 16, 0, 74 | |
| 50% (near Blue Whale) | #1C3343 | 28, 51, 67 | 205°, 41%, 19% | 58, 24, 0, 74 | |
| 75% (near Eternal Darkness) | #1C2D42 | 28, 45, 66 | 213°, 40%, 18% | 58, 32, 0, 74 | |
| Eternal Darkness | #1C2841 | 28, 40, 65 | 221°, 40%, 18% | 57, 38, 0, 75 |
Halfway along, the gradient is #1C3343, 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.26:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #1c3d44, #1c2841) - Diagonal:
linear-gradient(135deg, #1c3d44, #1c2841) - Radial, from the center out:
radial-gradient(circle, #1c3d44, #1c2841) - Tailwind CSS:
bg-gradient-to-r from-[#1c3d44] 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 Sunken Harbour to Eternal Darkness gradient?
It starts at #1C3D44 (Sunken Harbour) and ends at #1C2841 (Eternal Darkness), with #1C3343 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #1c3d44, #1c2841) runs from Eternal Darkness on the left to Sunken Harbour on the right.