LinkedIn Gradient is a cool 2-colour linear gradient that runs from blue (#0A66C2) to deep blue (#004182) at 180°. It is inspired by LinkedIn’s brand colours, a reference point for tech interfaces. White text reads best on it, at a contrast ratio of 7.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →
Unofficial reference: inspired by LinkedIn’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by LinkedIn. LinkedIn 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 LinkedIn’s. Terms
background: linear-gradient(180deg, #0A66C2, #004182);
bg-gradient-to-b from-[#0A66C2] to-[#004182]
{
"linkedin": {
"value": "linear-gradient(180deg, #0A66C2 0%, #004182 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let linkedinGradient = LinearGradient(
colors: [
Color(red: 0.039, green: 0.4, blue: 0.761),
Color(red: 0, green: 0.255, blue: 0.51)
],
startPoint: UnitPoint(x: 0.5, y: 0),
endPoint: UnitPoint(x: 0.5, y: 1)
)
// Usage
Rectangle().fill(linkedinGradient)val linkedinColors = listOf(Color(0xFF0A66C2), Color(0xFF004182))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = linkedinColors,
start = Offset(size.width * 0.5f, size.height * 0f),
end = Offset(size.width * 0.5f, size.height * 1f)
)
)
}<!-- res/drawable/linkedin_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#0A66C2"
android:endColor="#004182"
android:type="linear" />
</shape>const linkedinGradient = LinearGradient(
begin: Alignment(0, -1),
end: Alignment(0, 1),
colors: [Color(0xFF0A66C2), Color(0xFF004182)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: linkedinGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#0A66C2', '#004182']}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, 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="linkedin" x1="0.5" y1="0" x2="0.5" y2="1">
<stop offset="0%" stop-color="#0A66C2" />
<stop offset="100%" stop-color="#004182" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#linkedin)" />
</svg>:root {
--linkedin-1: #0A66C2;
--linkedin-2: #004182;
--linkedin-angle: 180deg;
--linkedin: linear-gradient(var(--linkedin-angle), var(--linkedin-1), var(--linkedin-2));
}
.hero {
background: var(--linkedin);
}$linkedin-1: #0A66C2;
$linkedin-2: #004182;
$linkedin: linear-gradient(180deg, $linkedin-1, $linkedin-2);
@mixin linkedin-bg {
background: $linkedin-1;
background: $linkedin;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Blue | #0A66C2 | rgb(10, 102, 194) | hsl(210, 90%, 40%) |
| 2 | Deep blue | #004182 | rgb(0, 65, 130) | hsl(210, 100%, 25%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The LinkedIn Gradient uses 2 colours: #0A66C2 and #004182, at an angle of 180°.
Paste background: linear-gradient(180deg, #0A66C2, #004182); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 7.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.