#000C40
#607D8B
Afternoon is a dark and cool 2-colour linear gradient that runs from deep blue (#000C40) to teal (#607D8B) 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.7:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #000C40, #607D8B);
bg-gradient-to-br from-[#000C40] to-[#607D8B]
{
"afternoon": {
"value": "linear-gradient(135deg, #000C40 0%, #607D8B 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let afternoonGradient = LinearGradient(
colors: [
Color(red: 0, green: 0.047, blue: 0.251),
Color(red: 0.376, green: 0.49, blue: 0.545)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(afternoonGradient)val afternoonColors = listOf(Color(0xFF000C40), Color(0xFF607D8B))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = afternoonColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/afternoon_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#000C40"
android:endColor="#607D8B"
android:type="linear" />
</shape>const afternoonGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF000C40), Color(0xFF607D8B)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: afternoonGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#000C40', '#607D8B']}
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="afternoon" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#000C40" />
<stop offset="100%" stop-color="#607D8B" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#afternoon)" />
</svg>:root {
--afternoon-1: #000C40;
--afternoon-2: #607D8B;
--afternoon-angle: 135deg;
--afternoon: linear-gradient(var(--afternoon-angle), var(--afternoon-1), var(--afternoon-2));
}
.hero {
background: var(--afternoon);
}$afternoon-1: #000C40;
$afternoon-2: #607D8B;
$afternoon: linear-gradient(135deg, $afternoon-1, $afternoon-2);
@mixin afternoon-bg {
background: $afternoon-1;
background: $afternoon;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Deep blue | #000C40 | rgb(0, 12, 64) | hsl(229, 100%, 13%) |
| 2 | Teal | #607D8B | rgb(96, 125, 139) | hsl(200, 18%, 46%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Afternoon gradient uses 2 colours: #000C40 and #607D8B, at an angle of 135°.
Paste background: linear-gradient(135deg, #000C40, #607D8B); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 9.7:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.