← All gradients
35%How it works
Dropbox ↗

Dropbox Gradient

#0061FF
#0D2481
Text readability
Brand Cool Tech

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

CSS
background: linear-gradient(135deg, #0061FF, #0D2481);
Tailwind
bg-gradient-to-br from-[#0061FF] to-[#0D2481]
Figma token
{
    "dropbox": {
        "value": "linear-gradient(135deg, #0061FF 0%, #0D2481 100%)",
        "type": "color"
    }
}

Dropbox Gradient for SwiftUI, Flutter, Android and more

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)

Colours in the Dropbox Gradient

StopNameHEXRGBHSL
1Blue#0061FFrgb(0, 97, 255)hsl(217, 100%, 50%)
2Blue#0D2481rgb(13, 36, 129)hsl(228, 82%, 28%)

Dropbox Gradient in use

Build something beautifulA hero section on the Dropbox GradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Dropbox Gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Dropbox Gradient?

The Dropbox Gradient uses 2 colours: #0061FF and #0D2481, at an angle of 135°.

How do I use the Dropbox Gradient in CSS?

Paste background: linear-gradient(135deg, #0061FF, #0D2481); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Dropbox Gradient?

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.