Iridescent to Nocturne Blue Gradient
CSS
background: linear-gradient(90deg, #3a5b52 0%, #37525f 100%);
From Iridescent (#3A5B52) to Nocturne Blue (#37525F). The two hues are 36° 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 | |
|---|---|---|---|---|---|
| Iridescent | #3A5B52 | 58, 91, 82 | 164°, 22%, 29% | 36, 0, 10, 64 | |
| 25% (near Iridescent) | #395955 | 57, 89, 85 | 173°, 22%, 29% | 36, 0, 4, 65 | |
| 50% (near Great Void) | #395759 | 57, 87, 89 | 184°, 22%, 29% | 36, 2, 0, 65 | |
| 75% (near Nocturne Blue) | #38545C | 56, 84, 92 | 193°, 24%, 29% | 39, 9, 0, 64 | |
| Nocturne Blue | #37525F | 55, 82, 95 | 200°, 27%, 29% | 42, 14, 0, 63 |
Halfway along, the gradient is #395759, closest to the named color Great Void. 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.10:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #3a5b52, #37525f) - Diagonal:
linear-gradient(135deg, #3a5b52, #37525f) - Radial, from the center out:
radial-gradient(circle, #3a5b52, #37525f) - Tailwind CSS:
bg-gradient-to-r from-[#3a5b52] to-[#37525f]
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 Iridescent to Nocturne Blue gradient?
It starts at #3A5B52 (Iridescent) and ends at #37525F (Nocturne Blue), with #395759 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #3a5b52, #37525f) runs from Nocturne Blue on the left to Iridescent on the right.