#0F172A
#1E293B
Dark Dashboard is a dark and neutral 2-colour linear gradient that runs from near-black (#0F172A) to charcoal (#1E293B) at 135°. It suits dark-mode interfaces and footers and subtle surfaces and app backgrounds. White text reads best on it, at a contrast ratio of 16.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #0F172A, #1E293B);
bg-gradient-to-br from-[#0F172A] to-[#1E293B]
{
"dark-dashboard": {
"value": "linear-gradient(135deg, #0F172A 0%, #1E293B 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let darkDashboardGradient = LinearGradient(
colors: [
Color(red: 0.059, green: 0.09, blue: 0.165),
Color(red: 0.118, green: 0.161, blue: 0.231)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(darkDashboardGradient)val darkDashboardColors = listOf(Color(0xFF0F172A), Color(0xFF1E293B))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = darkDashboardColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/dark-dashboard_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#0F172A"
android:endColor="#1E293B"
android:type="linear" />
</shape>const darkDashboardGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF0F172A), Color(0xFF1E293B)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: darkDashboardGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#0F172A', '#1E293B']}
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="dark-dashboard" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#0F172A" />
<stop offset="100%" stop-color="#1E293B" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#dark-dashboard)" />
</svg>:root {
--dark-dashboard-1: #0F172A;
--dark-dashboard-2: #1E293B;
--dark-dashboard-angle: 135deg;
--dark-dashboard: linear-gradient(var(--dark-dashboard-angle), var(--dark-dashboard-1), var(--dark-dashboard-2));
}
.hero {
background: var(--dark-dashboard);
}$dark-dashboard-1: #0F172A;
$dark-dashboard-2: #1E293B;
$dark-dashboard: linear-gradient(135deg, $dark-dashboard-1, $dark-dashboard-2);
@mixin dark-dashboard-bg {
background: $dark-dashboard-1;
background: $dark-dashboard;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Near-black | #0F172A | rgb(15, 23, 42) | hsl(222, 47%, 11%) |
| 2 | Charcoal | #1E293B | rgb(30, 41, 59) | hsl(217, 33%, 17%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Dark Dashboard gradient uses 2 colours: #0F172A and #1E293B, at an angle of 135°.
Paste background: linear-gradient(135deg, #0F172A, #1E293B); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 16.3:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.