Nightlife to Indie Go Gradient
CSS
background: linear-gradient(90deg, #27426b 0%, #2e2364 100%);
From Nightlife (#27426B) to Indie Go (#2E2364). The two hues are 34° 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 | |
|---|---|---|---|---|---|
| Nightlife | #27426B | 39, 66, 107 | 216°, 47%, 29% | 64, 38, 0, 58 | |
| 25% (near Nightlife) | #293A69 | 41, 58, 105 | 224°, 44%, 29% | 61, 45, 0, 59 | |
| 50% (near Galaxea) | #2B3368 | 43, 51, 104 | 232°, 41%, 29% | 59, 51, 0, 59 | |
| 75% (near Indie Go) | #2C2B66 | 44, 43, 102 | 241°, 41%, 28% | 57, 58, 0, 60 | |
| Indie Go | #2E2364 | 46, 35, 100 | 250°, 48%, 26% | 54, 65, 0, 61 |
Halfway along, the gradient is #2B3368, closest to the named color Galaxea. 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.35:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #27426b, #2e2364) - Diagonal:
linear-gradient(135deg, #27426b, #2e2364) - Radial, from the center out:
radial-gradient(circle, #27426b, #2e2364) - Tailwind CSS:
bg-gradient-to-r from-[#27426b] to-[#2e2364]
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 Nightlife to Indie Go gradient?
It starts at #27426B (Nightlife) and ends at #2E2364 (Indie Go), with #2B3368 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #27426b, #2e2364) runs from Indie Go on the left to Nightlife on the right.