#C7D3E3
#5B7BA6
#1F3558
Cobalt Steel is a cool 3-colour linear gradient that runs from light grey (#C7D3E3) through blue (#5B7BA6) to deep blue (#1F3558) at 135°. It suits dashboards and SaaS landing pages. Black text reads best on it, at a contrast ratio of 5.3:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #C7D3E3, #5B7BA6, #1F3558);
bg-gradient-to-br from-[#C7D3E3] via-[#5B7BA6] to-[#1F3558]
{
"cobalt-steel": {
"value": "linear-gradient(135deg, #C7D3E3 0%, #5B7BA6 50%, #1F3558 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let cobaltSteelGradient = LinearGradient(
colors: [
Color(red: 0.78, green: 0.827, blue: 0.89),
Color(red: 0.357, green: 0.482, blue: 0.651),
Color(red: 0.122, green: 0.208, blue: 0.345)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(cobaltSteelGradient)val cobaltSteelColors = listOf(Color(0xFFC7D3E3), Color(0xFF5B7BA6), Color(0xFF1F3558))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = cobaltSteelColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/cobalt-steel_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#C7D3E3"
android:centerColor="#5B7BA6"
android:endColor="#1F3558"
android:type="linear" />
</shape>const cobaltSteelGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFC7D3E3), Color(0xFF5B7BA6), Color(0xFF1F3558)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: cobaltSteelGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#C7D3E3', '#5B7BA6', '#1F3558']}
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="cobalt-steel" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#C7D3E3" />
<stop offset="50%" stop-color="#5B7BA6" />
<stop offset="100%" stop-color="#1F3558" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#cobalt-steel)" />
</svg>:root {
--cobalt-steel-1: #C7D3E3;
--cobalt-steel-2: #5B7BA6;
--cobalt-steel-3: #1F3558;
--cobalt-steel-angle: 135deg;
--cobalt-steel: linear-gradient(var(--cobalt-steel-angle), var(--cobalt-steel-1), var(--cobalt-steel-2), var(--cobalt-steel-3));
}
.hero {
background: var(--cobalt-steel);
}$cobalt-steel-1: #C7D3E3;
$cobalt-steel-2: #5B7BA6;
$cobalt-steel-3: #1F3558;
$cobalt-steel: linear-gradient(135deg, $cobalt-steel-1, $cobalt-steel-2, $cobalt-steel-3);
@mixin cobalt-steel-bg {
background: $cobalt-steel-1;
background: $cobalt-steel;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light grey | #C7D3E3 | rgb(199, 211, 227) | hsl(214, 33%, 84%) |
| 2 | Blue | #5B7BA6 | rgb(91, 123, 166) | hsl(214, 30%, 50%) |
| 3 | Deep blue | #1F3558 | rgb(31, 53, 88) | hsl(217, 48%, 23%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Cobalt Steel gradient uses 3 colours: #C7D3E3, #5B7BA6 and #1F3558, at an angle of 135°.
Paste background: linear-gradient(135deg, #C7D3E3, #5B7BA6, #1F3558); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 5.3:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.