#1E1B4B
#3730A3
#6366F1
Indigo Night is a dark, cool and bold 3-colour linear gradient that runs from deep blue (#1E1B4B) through blue (#3730A3) to light blue (#6366F1) at 135°. It suits dark-mode interfaces and footers and dashboards and SaaS landing pages. White text reads best on it, at a contrast ratio of 9.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #1E1B4B, #3730A3, #6366F1);
bg-gradient-to-br from-[#1E1B4B] via-[#3730A3] to-[#6366F1]
{
"indigo-night": {
"value": "linear-gradient(135deg, #1E1B4B 0%, #3730A3 50%, #6366F1 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let indigoNightGradient = LinearGradient(
colors: [
Color(red: 0.118, green: 0.106, blue: 0.294),
Color(red: 0.216, green: 0.188, blue: 0.639),
Color(red: 0.388, green: 0.4, blue: 0.945)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(indigoNightGradient)val indigoNightColors = listOf(Color(0xFF1E1B4B), Color(0xFF3730A3), Color(0xFF6366F1))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = indigoNightColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/indigo-night_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#1E1B4B"
android:centerColor="#3730A3"
android:endColor="#6366F1"
android:type="linear" />
</shape>const indigoNightGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF1E1B4B), Color(0xFF3730A3), Color(0xFF6366F1)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: indigoNightGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#1E1B4B', '#3730A3', '#6366F1']}
start={{ x: 0, y: 0 }}
end={{ x: 1, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="indigo-night" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#1E1B4B" />
<stop offset="50%" stop-color="#3730A3" />
<stop offset="100%" stop-color="#6366F1" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#indigo-night)" />
</svg>:root {
--indigo-night-1: #1E1B4B;
--indigo-night-2: #3730A3;
--indigo-night-3: #6366F1;
--indigo-night-angle: 135deg;
--indigo-night: linear-gradient(var(--indigo-night-angle), var(--indigo-night-1), var(--indigo-night-2), var(--indigo-night-3));
}
.hero {
background: var(--indigo-night);
}$indigo-night-1: #1E1B4B;
$indigo-night-2: #3730A3;
$indigo-night-3: #6366F1;
$indigo-night: linear-gradient(135deg, $indigo-night-1, $indigo-night-2, $indigo-night-3);
@mixin indigo-night-bg {
background: $indigo-night-1;
background: $indigo-night;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Deep blue | #1E1B4B | rgb(30, 27, 75) | hsl(244, 47%, 20%) |
| 2 | Blue | #3730A3 | rgb(55, 48, 163) | hsl(244, 55%, 41%) |
| 3 | Light blue | #6366F1 | rgb(99, 102, 241) | hsl(239, 84%, 67%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Indigo Night gradient uses 3 colours: #1E1B4B, #3730A3 and #6366F1, at an angle of 135°.
Paste background: linear-gradient(135deg, #1E1B4B, #3730A3, #6366F1); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 9.0:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.