Under the Sea to Bonne Nuit Gradient
CSS
background: linear-gradient(90deg, #395d68 0%, #3a4866 100%);
From Under the Sea (#395D68) to Bonne Nuit (#3A4866). 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 | |
|---|---|---|---|---|---|
| Under the Sea | #395D68 | 57, 93, 104 | 194°, 29%, 32% | 45, 11, 0, 59 | |
| 25% (near Under the Sea) | #395868 | 57, 88, 104 | 200°, 29%, 32% | 45, 15, 0, 59 | |
| 50% (near Dark Secret) | #3A5367 | 58, 83, 103 | 207°, 28%, 32% | 44, 19, 0, 60 | |
| 75% (near Naval Blue) | #3A4D67 | 58, 77, 103 | 215°, 28%, 32% | 44, 25, 0, 60 | |
| Bonne Nuit | #3A4866 | 58, 72, 102 | 221°, 28%, 31% | 43, 29, 0, 60 |
Halfway along, the gradient is #3A5367, closest to the named color Dark Secret. 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.28:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #395d68, #3a4866) - Diagonal:
linear-gradient(135deg, #395d68, #3a4866) - Radial, from the center out:
radial-gradient(circle, #395d68, #3a4866) - Tailwind CSS:
bg-gradient-to-r from-[#395d68] to-[#3a4866]
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 Under the Sea to Bonne Nuit gradient?
It starts at #395D68 (Under the Sea) and ends at #3A4866 (Bonne Nuit), with #3A5367 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #395d68, #3a4866) runs from Bonne Nuit on the left to Under the Sea on the right.