← All gradients
35%How it works
React ↗

React Gradient

#61DAFB
#21A1C4
Text readability
Brand Cool Tech

React Gradient is a cool 2-colour linear gradient that runs from light teal (#61DAFB) to teal (#21A1C4) at 135°. It is inspired by React’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 9.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →

Unofficial reference: inspired by React’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by React. React 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 React’s. Terms

CSS
background: linear-gradient(135deg, #61DAFB, #21A1C4);
Tailwind
bg-gradient-to-br from-[#61DAFB] to-[#21A1C4]
Figma token
{
    "react": {
        "value": "linear-gradient(135deg, #61DAFB 0%, #21A1C4 100%)",
        "type": "color"
    }
}

React Gradient for SwiftUI, Flutter, Android and more

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

let reactGradient = LinearGradient(
    colors: [
        Color(red: 0.38, green: 0.855, blue: 0.984),
        Color(red: 0.129, green: 0.631, blue: 0.769)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(reactGradient)

Colours in the React Gradient

StopNameHEXRGBHSL
1Light teal#61DAFBrgb(97, 218, 251)hsl(193, 95%, 68%)
2Teal#21A1C4rgb(33, 161, 196)hsl(193, 71%, 45%)

React Gradient in use

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

React 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 React Gradient?

The React Gradient uses 2 colours: #61DAFB and #21A1C4, at an angle of 135°.

How do I use the React Gradient in CSS?

Paste background: linear-gradient(135deg, #61DAFB, #21A1C4); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the React Gradient?

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