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