← All gradients
35%How it works
Curated

Politics

#2196F3
#F44336
Text readability
Curated Bold

Politics is a bold 2-colour linear gradient that runs from blue (#2196F3) to red (#F44336) at 90°. It suits banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 4.7:1 against the gradient’s average colour (AA). Check every point, not just the average →

CSS
background: linear-gradient(90deg, #2196F3, #F44336);
Tailwind
bg-gradient-to-r from-[#2196F3] to-[#F44336]
Figma token
{
    "politics": {
        "value": "linear-gradient(90deg, #2196F3 0%, #F44336 100%)",
        "type": "color"
    }
}

Politics gradient for SwiftUI, Flutter, Android and more

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

let politicsGradient = LinearGradient(
    colors: [
        Color(red: 0.129, green: 0.588, blue: 0.953),
        Color(red: 0.957, green: 0.263, blue: 0.212)
    ],
    startPoint: UnitPoint(x: 0, y: 0.5),
    endPoint: UnitPoint(x: 1, y: 0.5)
)

// Usage
Rectangle().fill(politicsGradient)

Colours in the Politics gradient

StopNameHEXRGBHSL
1Blue#2196F3rgb(33, 150, 243)hsl(207, 90%, 54%)
2Red#F44336rgb(244, 67, 54)hsl(4, 90%, 58%)

Politics gradient in use

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

Politics gradient variations

Reversed
Vertical
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 Politics gradient?

The Politics gradient uses 2 colours: #2196F3 and #F44336, at an angle of 90°.

How do I use the Politics gradient in CSS?

Paste background: linear-gradient(90deg, #2196F3, #F44336); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Politics gradient?

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