#EFF6FF
#DBEAFE
Stats Card Blue is a cool and pastel 2-colour linear gradient that runs from off-white (#EFF6FF) to off-white (#DBEAFE) at 180°. It suits dashboards and SaaS landing pages and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 18.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(180deg, #EFF6FF, #DBEAFE);
bg-gradient-to-b from-[#EFF6FF] to-[#DBEAFE]
{
"stats-card-blue": {
"value": "linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let statsCardBlueGradient = LinearGradient(
colors: [
Color(red: 0.937, green: 0.965, blue: 1),
Color(red: 0.859, green: 0.918, blue: 0.996)
],
startPoint: UnitPoint(x: 0.5, y: 0),
endPoint: UnitPoint(x: 0.5, y: 1)
)
// Usage
Rectangle().fill(statsCardBlueGradient)val statsCardBlueColors = listOf(Color(0xFFEFF6FF), Color(0xFFDBEAFE))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = statsCardBlueColors,
start = Offset(size.width * 0.5f, size.height * 0f),
end = Offset(size.width * 0.5f, size.height * 1f)
)
)
}<!-- res/drawable/stats-card-blue_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#EFF6FF"
android:endColor="#DBEAFE"
android:type="linear" />
</shape>const statsCardBlueGradient = LinearGradient(
begin: Alignment(0, -1),
end: Alignment(0, 1),
colors: [Color(0xFFEFF6FF), Color(0xFFDBEAFE)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: statsCardBlueGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#EFF6FF', '#DBEAFE']}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, 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="stats-card-blue" x1="0.5" y1="0" x2="0.5" y2="1">
<stop offset="0%" stop-color="#EFF6FF" />
<stop offset="100%" stop-color="#DBEAFE" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#stats-card-blue)" />
</svg>:root {
--stats-card-blue-1: #EFF6FF;
--stats-card-blue-2: #DBEAFE;
--stats-card-blue-angle: 180deg;
--stats-card-blue: linear-gradient(var(--stats-card-blue-angle), var(--stats-card-blue-1), var(--stats-card-blue-2));
}
.hero {
background: var(--stats-card-blue);
}$stats-card-blue-1: #EFF6FF;
$stats-card-blue-2: #DBEAFE;
$stats-card-blue: linear-gradient(180deg, $stats-card-blue-1, $stats-card-blue-2);
@mixin stats-card-blue-bg {
background: $stats-card-blue-1;
background: $stats-card-blue;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #EFF6FF | rgb(239, 246, 255) | hsl(214, 100%, 97%) |
| 2 | Off-white | #DBEAFE | rgb(219, 234, 254) | hsl(214, 95%, 93%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Stats Card Blue gradient uses 2 colours: #EFF6FF and #DBEAFE, at an angle of 180°.
Paste background: linear-gradient(180deg, #EFF6FF, #DBEAFE); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 18.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.