#003973
#E5E5BE
Horizon is a cool and neutral 2-colour linear gradient that runs from deep blue (#003973) to pale yellow (#E5E5BE) at 135°. It suits dashboards and SaaS landing pages and subtle surfaces and app backgrounds. Black text reads best on it, at a contrast ratio of 6.1:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #003973, #E5E5BE);
bg-gradient-to-br from-[#003973] to-[#E5E5BE]
{
"horizon": {
"value": "linear-gradient(135deg, #003973 0%, #E5E5BE 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let horizonGradient = LinearGradient(
colors: [
Color(red: 0, green: 0.224, blue: 0.451),
Color(red: 0.898, green: 0.898, blue: 0.745)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(horizonGradient)val horizonColors = listOf(Color(0xFF003973), Color(0xFFE5E5BE))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = horizonColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/horizon_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#003973"
android:endColor="#E5E5BE"
android:type="linear" />
</shape>const horizonGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF003973), Color(0xFFE5E5BE)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: horizonGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#003973', '#E5E5BE']}
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="horizon" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#003973" />
<stop offset="100%" stop-color="#E5E5BE" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#horizon)" />
</svg>:root {
--horizon-1: #003973;
--horizon-2: #E5E5BE;
--horizon-angle: 135deg;
--horizon: linear-gradient(var(--horizon-angle), var(--horizon-1), var(--horizon-2));
}
.hero {
background: var(--horizon);
}$horizon-1: #003973;
$horizon-2: #E5E5BE;
$horizon: linear-gradient(135deg, $horizon-1, $horizon-2);
@mixin horizon-bg {
background: $horizon-1;
background: $horizon;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Deep blue | #003973 | rgb(0, 57, 115) | hsl(210, 100%, 23%) |
| 2 | Pale yellow | #E5E5BE | rgb(229, 229, 190) | hsl(60, 43%, 82%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Horizon gradient uses 2 colours: #003973 and #E5E5BE, at an angle of 135°.
Paste background: linear-gradient(135deg, #003973, #E5E5BE); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 6.1:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.