#141E30
#243B55
Royal is a dark and cool 2-colour linear gradient that runs from charcoal (#141E30) to deep blue (#243B55) at 135°. It suits dark-mode interfaces and footers and dashboards and SaaS landing pages. White text reads best on it, at a contrast ratio of 14.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #141E30, #243B55);
bg-gradient-to-br from-[#141E30] to-[#243B55]
{
"royal": {
"value": "linear-gradient(135deg, #141E30 0%, #243B55 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let royalGradient = LinearGradient(
colors: [
Color(red: 0.078, green: 0.118, blue: 0.188),
Color(red: 0.141, green: 0.231, blue: 0.333)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(royalGradient)val royalColors = listOf(Color(0xFF141E30), Color(0xFF243B55))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = royalColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/royal_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#141E30"
android:endColor="#243B55"
android:type="linear" />
</shape>const royalGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF141E30), Color(0xFF243B55)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: royalGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#141E30', '#243B55']}
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="royal" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#141E30" />
<stop offset="100%" stop-color="#243B55" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#royal)" />
</svg>:root {
--royal-1: #141E30;
--royal-2: #243B55;
--royal-angle: 135deg;
--royal: linear-gradient(var(--royal-angle), var(--royal-1), var(--royal-2));
}
.hero {
background: var(--royal);
}$royal-1: #141E30;
$royal-2: #243B55;
$royal: linear-gradient(135deg, $royal-1, $royal-2);
@mixin royal-bg {
background: $royal-1;
background: $royal;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Charcoal | #141E30 | rgb(20, 30, 48) | hsl(219, 41%, 13%) |
| 2 | Deep blue | #243B55 | rgb(36, 59, 85) | hsl(212, 40%, 24%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Royal gradient uses 2 colours: #141E30 and #243B55, at an angle of 135°.
Paste background: linear-gradient(135deg, #141E30, #243B55); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 14.0:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.