Dropbox Gradient is a cool 2-colour linear gradient that runs from blue (#0061FF) to blue (#0D2481) at 135°. It is inspired by Dropbox’s brand colours, a reference point for tech interfaces. White text reads best on it, at a contrast ratio of 8.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
Unofficial reference: inspired by Dropbox’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Dropbox. Dropbox is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like Dropbox’s. Terms
background: linear-gradient(135deg, #0061FF, #0D2481);
bg-gradient-to-br from-[#0061FF] to-[#0D2481]
{
"dropbox": {
"value": "linear-gradient(135deg, #0061FF 0%, #0D2481 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let dropboxGradient = LinearGradient(
colors: [
Color(red: 0, green: 0.38, blue: 1),
Color(red: 0.051, green: 0.141, blue: 0.506)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(dropboxGradient)val dropboxColors = listOf(Color(0xFF0061FF), Color(0xFF0D2481))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = dropboxColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/dropbox_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#0061FF"
android:endColor="#0D2481"
android:type="linear" />
</shape>const dropboxGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF0061FF), Color(0xFF0D2481)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: dropboxGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#0061FF', '#0D2481']}
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="dropbox" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#0061FF" />
<stop offset="100%" stop-color="#0D2481" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#dropbox)" />
</svg>:root {
--dropbox-1: #0061FF;
--dropbox-2: #0D2481;
--dropbox-angle: 135deg;
--dropbox: linear-gradient(var(--dropbox-angle), var(--dropbox-1), var(--dropbox-2));
}
.hero {
background: var(--dropbox);
}$dropbox-1: #0061FF;
$dropbox-2: #0D2481;
$dropbox: linear-gradient(135deg, $dropbox-1, $dropbox-2);
@mixin dropbox-bg {
background: $dropbox-1;
background: $dropbox;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Blue | #0061FF | rgb(0, 97, 255) | hsl(217, 100%, 50%) |
| 2 | Blue | #0D2481 | rgb(13, 36, 129) | hsl(228, 82%, 28%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Dropbox Gradient uses 2 colours: #0061FF and #0D2481, at an angle of 135°.
Paste background: linear-gradient(135deg, #0061FF, #0D2481); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 8.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.