← All gradients
35%How it works
UI

Chart Line Blue

#1D4ED8
#3B82F6
Text readability
Ui CoolBold

Chart Line Blue is a cool and bold 2-colour linear gradient that runs from blue (#1D4ED8) to blue (#3B82F6) 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.0:1 against the gradient’s average colour (AA). Check every point, not just the average →

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

Chart Line Blue gradient for SwiftUI, Flutter, Android and more

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

let chartLineBlueGradient = LinearGradient(
    colors: [
        Color(red: 0.114, green: 0.306, blue: 0.847),
        Color(red: 0.231, green: 0.51, blue: 0.965)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(chartLineBlueGradient)

Colours in the Chart Line Blue gradient

StopNameHEXRGBHSL
1Blue#1D4ED8rgb(29, 78, 216)hsl(224, 76%, 48%)
2Blue#3B82F6rgb(59, 130, 246)hsl(217, 91%, 60%)

Chart Line Blue gradient in use

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

Chart Line 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 Chart Line Blue gradient?

The Chart Line Blue gradient uses 2 colours: #1D4ED8 and #3B82F6, at an angle of 135°.

How do I use the Chart Line Blue gradient in CSS?

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

What text colour works on the Chart Line Blue gradient?

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