Treasure Map Waters to Twinkle Night Gradient
CSS
background: linear-gradient(90deg, #658faa 0%, #636ca8 100%);
From Treasure Map Waters (#658FAA) to Twinkle Night (#636CA8). 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 | |
|---|---|---|---|---|---|
| Treasure Map Waters | #658FAA | 101, 143, 170 | 203°, 29%, 53% | 41, 16, 0, 33 | |
| 25% (near Treasure Map Waters) | #6586AA | 101, 134, 170 | 211°, 29%, 53% | 41, 21, 0, 33 | |
| 50% (near Bay View) | #647EA9 | 100, 126, 169 | 217°, 29%, 53% | 41, 25, 0, 34 | |
| 75% (near Twinkle Night) | #6475A9 | 100, 117, 169 | 225°, 29%, 53% | 41, 31, 0, 34 | |
| Twinkle Night | #636CA8 | 99, 108, 168 | 232°, 28%, 52% | 41, 36, 0, 34 |
Halfway along, the gradient is #647EA9, closest to the named color Bay View. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on the Treasure Map Waters end and white text on the Twinkle Night end. For a single line of text across the whole width, put it on a solid panel or pick the side it sits on. The two end colors have a contrast ratio of 1.43:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #658faa, #636ca8) - Diagonal:
linear-gradient(135deg, #658faa, #636ca8) - Radial, from the center out:
radial-gradient(circle, #658faa, #636ca8) - Tailwind CSS:
bg-gradient-to-r from-[#658faa] to-[#636ca8]
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 Treasure Map Waters to Twinkle Night gradient?
It starts at #658FAA (Treasure Map Waters) and ends at #636CA8 (Twinkle Night), with #647EA9 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #658faa, #636ca8) runs from Twinkle Night on the left to Treasure Map Waters on the right.