← All gradients
35%How it works
UI

Avatar Blue

#2563EB
#1D4ED8
Text readability
Ui CoolBold

Avatar Blue is a cool and bold 2-colour linear gradient that runs from blue (#2563EB) to blue (#1D4ED8) at 135°. It suits dashboards and SaaS landing pages and banners and attention-grabbing headers. White text reads best on it, at a contrast ratio of 5.9:1 against the gradient’s average colour (AA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #2563EB, #1D4ED8);
Tailwind
bg-gradient-to-br from-[#2563EB] to-[#1D4ED8]
Figma token
{
    "avatar-blue": {
        "value": "linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%)",
        "type": "color"
    }
}

Avatar Blue gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let avatarBlueGradient = LinearGradient(
    colors: [
        Color(red: 0.145, green: 0.388, blue: 0.922),
        Color(red: 0.114, green: 0.306, blue: 0.847)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(avatarBlueGradient)

Colours in the Avatar Blue gradient

StopNameHEXRGBHSL
1Blue#2563EBrgb(37, 99, 235)hsl(221, 83%, 53%)
2Blue#1D4ED8rgb(29, 78, 216)hsl(224, 76%, 48%)

Avatar Blue gradient in use

Build something beautifulA hero section on the Avatar Blue gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Avatar Blue 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 Avatar Blue gradient?

The Avatar Blue gradient uses 2 colours: #2563EB and #1D4ED8, at an angle of 135°.

How do I use the Avatar Blue gradient in CSS?

Paste background: linear-gradient(135deg, #2563EB, #1D4ED8); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Avatar Blue gradient?

White text has the best contrast, at 5.9:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.