#2563EB
#1D4ED8
Avatar Blue is a cool and bold 2-colour linear gradient that runs from blue (#2563EB) to blue (#1D4ED8) 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.9:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #2563EB, #1D4ED8);
bg-gradient-to-br from-[#2563EB] to-[#1D4ED8]
{
"avatar-blue": {
"value": "linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let avatarBlueGradient = LinearGradient(
colors: [
Color(red: 0.145, green: 0.388, blue: 0.922),
Color(red: 0.114, green: 0.306, blue: 0.847)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(avatarBlueGradient)val avatarBlueColors = listOf(Color(0xFF2563EB), Color(0xFF1D4ED8))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = avatarBlueColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/avatar-blue_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#2563EB"
android:endColor="#1D4ED8"
android:type="linear" />
</shape>const avatarBlueGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF2563EB), Color(0xFF1D4ED8)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: avatarBlueGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#2563EB', '#1D4ED8']}
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="avatar-blue" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#2563EB" />
<stop offset="100%" stop-color="#1D4ED8" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#avatar-blue)" />
</svg>:root {
--avatar-blue-1: #2563EB;
--avatar-blue-2: #1D4ED8;
--avatar-blue-angle: 135deg;
--avatar-blue: linear-gradient(var(--avatar-blue-angle), var(--avatar-blue-1), var(--avatar-blue-2));
}
.hero {
background: var(--avatar-blue);
}$avatar-blue-1: #2563EB;
$avatar-blue-2: #1D4ED8;
$avatar-blue: linear-gradient(135deg, $avatar-blue-1, $avatar-blue-2);
@mixin avatar-blue-bg {
background: $avatar-blue-1;
background: $avatar-blue;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Blue | #2563EB | rgb(37, 99, 235) | hsl(221, 83%, 53%) |
| 2 | Blue | #1D4ED8 | rgb(29, 78, 216) | hsl(224, 76%, 48%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Avatar Blue gradient uses 2 colours: #2563EB and #1D4ED8, at an angle of 135°.
Paste background: linear-gradient(135deg, #2563EB, #1D4ED8); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 5.9:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.