#1D4ED8
#3B82F6
Chart Line Blue is a cool and bold 2-colour linear gradient that runs from blue (#1D4ED8) to blue (#3B82F6) at 135°. It suits dashboards and SaaS landing pages and banners and attention-grabbing headers. White text reads best on it, at a contrast ratio of 5.0:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #1D4ED8, #3B82F6);
bg-gradient-to-br from-[#1D4ED8] to-[#3B82F6]
{
"chart-line-blue": {
"value": "linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let chartLineBlueGradient = LinearGradient(
colors: [
Color(red: 0.114, green: 0.306, blue: 0.847),
Color(red: 0.231, green: 0.51, blue: 0.965)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(chartLineBlueGradient)val chartLineBlueColors = listOf(Color(0xFF1D4ED8), Color(0xFF3B82F6))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = chartLineBlueColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/chart-line-blue_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#1D4ED8"
android:endColor="#3B82F6"
android:type="linear" />
</shape>const chartLineBlueGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF1D4ED8), Color(0xFF3B82F6)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: chartLineBlueGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#1D4ED8', '#3B82F6']}
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="chart-line-blue" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#1D4ED8" />
<stop offset="100%" stop-color="#3B82F6" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#chart-line-blue)" />
</svg>:root {
--chart-line-blue-1: #1D4ED8;
--chart-line-blue-2: #3B82F6;
--chart-line-blue-angle: 135deg;
--chart-line-blue: linear-gradient(var(--chart-line-blue-angle), var(--chart-line-blue-1), var(--chart-line-blue-2));
}
.hero {
background: var(--chart-line-blue);
}$chart-line-blue-1: #1D4ED8;
$chart-line-blue-2: #3B82F6;
$chart-line-blue: linear-gradient(135deg, $chart-line-blue-1, $chart-line-blue-2);
@mixin chart-line-blue-bg {
background: $chart-line-blue-1;
background: $chart-line-blue;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Blue | #1D4ED8 | rgb(29, 78, 216) | hsl(224, 76%, 48%) |
| 2 | Blue | #3B82F6 | rgb(59, 130, 246) | hsl(217, 91%, 60%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Chart Line Blue gradient uses 2 colours: #1D4ED8 and #3B82F6, at an angle of 135°.
Paste background: linear-gradient(135deg, #1D4ED8, #3B82F6); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 5.0:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.