#EFF6FF
#DBEAFE
Info State 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]
{
"info-state": {
"value": "linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let infoStateGradient = 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(infoStateGradient)val infoStateColors = listOf(Color(0xFFEFF6FF), Color(0xFFDBEAFE))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = infoStateColors,
start = Offset(size.width * 0.5f, size.height * 0f),
end = Offset(size.width * 0.5f, size.height * 1f)
)
)
}<!-- res/drawable/info-state_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 infoStateGradient = LinearGradient(
begin: Alignment(0, -1),
end: Alignment(0, 1),
colors: [Color(0xFFEFF6FF), Color(0xFFDBEAFE)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: infoStateGradient))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="info-state" 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(#info-state)" />
</svg>:root {
--info-state-1: #EFF6FF;
--info-state-2: #DBEAFE;
--info-state-angle: 180deg;
--info-state: linear-gradient(var(--info-state-angle), var(--info-state-1), var(--info-state-2));
}
.hero {
background: var(--info-state);
}$info-state-1: #EFF6FF;
$info-state-2: #DBEAFE;
$info-state: linear-gradient(180deg, $info-state-1, $info-state-2);
@mixin info-state-bg {
background: $info-state-1;
background: $info-state;
}| 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 Info State 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.