#9DB8DE
#3F6CB0
#1B2F57
Denim is a cool 3-colour linear gradient that runs from light blue (#9DB8DE) through blue (#3F6CB0) to deep blue (#1B2F57) at 135°. It suits dashboards and SaaS landing pages. White text reads best on it, at a contrast ratio of 4.9:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #9DB8DE, #3F6CB0, #1B2F57);
bg-gradient-to-br from-[#9DB8DE] via-[#3F6CB0] to-[#1B2F57]
{
"denim": {
"value": "linear-gradient(135deg, #9DB8DE 0%, #3F6CB0 50%, #1B2F57 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let denimGradient = LinearGradient(
colors: [
Color(red: 0.616, green: 0.722, blue: 0.871),
Color(red: 0.247, green: 0.424, blue: 0.69),
Color(red: 0.106, green: 0.184, blue: 0.341)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(denimGradient)val denimColors = listOf(Color(0xFF9DB8DE), Color(0xFF3F6CB0), Color(0xFF1B2F57))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = denimColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/denim_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#9DB8DE"
android:centerColor="#3F6CB0"
android:endColor="#1B2F57"
android:type="linear" />
</shape>const denimGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF9DB8DE), Color(0xFF3F6CB0), Color(0xFF1B2F57)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: denimGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#9DB8DE', '#3F6CB0', '#1B2F57']}
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="denim" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#9DB8DE" />
<stop offset="50%" stop-color="#3F6CB0" />
<stop offset="100%" stop-color="#1B2F57" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#denim)" />
</svg>:root {
--denim-1: #9DB8DE;
--denim-2: #3F6CB0;
--denim-3: #1B2F57;
--denim-angle: 135deg;
--denim: linear-gradient(var(--denim-angle), var(--denim-1), var(--denim-2), var(--denim-3));
}
.hero {
background: var(--denim);
}$denim-1: #9DB8DE;
$denim-2: #3F6CB0;
$denim-3: #1B2F57;
$denim: linear-gradient(135deg, $denim-1, $denim-2, $denim-3);
@mixin denim-bg {
background: $denim-1;
background: $denim;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light blue | #9DB8DE | rgb(157, 184, 222) | hsl(215, 50%, 74%) |
| 2 | Blue | #3F6CB0 | rgb(63, 108, 176) | hsl(216, 47%, 47%) |
| 3 | Deep blue | #1B2F57 | rgb(27, 47, 87) | hsl(220, 53%, 22%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Denim gradient uses 3 colours: #9DB8DE, #3F6CB0 and #1B2F57, at an angle of 135°.
Paste background: linear-gradient(135deg, #9DB8DE, #3F6CB0, #1B2F57); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 4.9:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.