Steam Gradient is a dark and cool 2-colour linear gradient that runs from charcoal (#1B2838) to deep blue (#2A475E) at 135°. It is inspired by Steam’s brand colours, a reference point for media interfaces. White text reads best on it, at a contrast ratio of 12.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
Unofficial reference: inspired by Steam’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Steam. Steam 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 Steam’s. Terms
background: linear-gradient(135deg, #1B2838, #2A475E);
bg-gradient-to-br from-[#1B2838] to-[#2A475E]
{
"steam": {
"value": "linear-gradient(135deg, #1B2838 0%, #2A475E 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let steamGradient = LinearGradient(
colors: [
Color(red: 0.106, green: 0.157, blue: 0.22),
Color(red: 0.165, green: 0.278, blue: 0.369)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(steamGradient)val steamColors = listOf(Color(0xFF1B2838), Color(0xFF2A475E))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = steamColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/steam_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#1B2838"
android:endColor="#2A475E"
android:type="linear" />
</shape>const steamGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF1B2838), Color(0xFF2A475E)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: steamGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#1B2838', '#2A475E']}
start={{ x: 0, y: 0 }}
end={{ x: 1, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="steam" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#1B2838" />
<stop offset="100%" stop-color="#2A475E" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#steam)" />
</svg>:root {
--steam-1: #1B2838;
--steam-2: #2A475E;
--steam-angle: 135deg;
--steam: linear-gradient(var(--steam-angle), var(--steam-1), var(--steam-2));
}
.hero {
background: var(--steam);
}$steam-1: #1B2838;
$steam-2: #2A475E;
$steam: linear-gradient(135deg, $steam-1, $steam-2);
@mixin steam-bg {
background: $steam-1;
background: $steam;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Charcoal | #1B2838 | rgb(27, 40, 56) | hsl(213, 35%, 16%) |
| 2 | Deep blue | #2A475E | rgb(42, 71, 94) | hsl(207, 38%, 27%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Steam Gradient uses 2 colours: #1B2838 and #2A475E, at an angle of 135°.
Paste background: linear-gradient(135deg, #1B2838, #2A475E); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 12.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.