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