#F4F8FF
#C9D6EA
#9AA9C7
Moonstone is a cool and pastel 3-colour linear gradient that runs from off-white (#F4F8FF) through light grey (#C9D6EA) to light blue (#9AA9C7) at 150°. It suits dashboards and SaaS landing pages and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 13.8:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(150deg, #F4F8FF, #C9D6EA, #9AA9C7);
bg-[linear-gradient(150deg,#F4F8FF,#C9D6EA,#9AA9C7)]
{
"moonstone": {
"value": "linear-gradient(150deg, #F4F8FF 0%, #C9D6EA 50%, #9AA9C7 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let moonstoneGradient = LinearGradient(
colors: [
Color(red: 0.957, green: 0.973, blue: 1),
Color(red: 0.788, green: 0.839, blue: 0.918),
Color(red: 0.604, green: 0.663, blue: 0.78)
],
startPoint: UnitPoint(x: 0.212, y: 0),
endPoint: UnitPoint(x: 0.789, y: 1)
)
// Usage
Rectangle().fill(moonstoneGradient)val moonstoneColors = listOf(Color(0xFFF4F8FF), Color(0xFFC9D6EA), Color(0xFF9AA9C7))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = moonstoneColors,
start = Offset(size.width * 0.212f, size.height * 0f),
end = Offset(size.width * 0.789f, size.height * 1f)
)
)
}<!-- res/drawable/moonstone_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#F4F8FF"
android:centerColor="#C9D6EA"
android:endColor="#9AA9C7"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 150deg in CSS is 300°, rounded to 315°. -->const moonstoneGradient = LinearGradient(
begin: Alignment(-0.577, -1),
end: Alignment(0.577, 1),
colors: [Color(0xFFF4F8FF), Color(0xFFC9D6EA), Color(0xFF9AA9C7)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: moonstoneGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F4F8FF', '#C9D6EA', '#9AA9C7']}
start={{ x: 0.212, y: 0 }}
end={{ x: 0.789, 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="moonstone" x1="0.212" y1="0" x2="0.789" y2="1">
<stop offset="0%" stop-color="#F4F8FF" />
<stop offset="50%" stop-color="#C9D6EA" />
<stop offset="100%" stop-color="#9AA9C7" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#moonstone)" />
</svg>:root {
--moonstone-1: #F4F8FF;
--moonstone-2: #C9D6EA;
--moonstone-3: #9AA9C7;
--moonstone-angle: 150deg;
--moonstone: linear-gradient(var(--moonstone-angle), var(--moonstone-1), var(--moonstone-2), var(--moonstone-3));
}
.hero {
background: var(--moonstone);
}$moonstone-1: #F4F8FF;
$moonstone-2: #C9D6EA;
$moonstone-3: #9AA9C7;
$moonstone: linear-gradient(150deg, $moonstone-1, $moonstone-2, $moonstone-3);
@mixin moonstone-bg {
background: $moonstone-1;
background: $moonstone;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #F4F8FF | rgb(244, 248, 255) | hsl(218, 100%, 98%) |
| 2 | Light grey | #C9D6EA | rgb(201, 214, 234) | hsl(216, 44%, 85%) |
| 3 | Light blue | #9AA9C7 | rgb(154, 169, 199) | hsl(220, 29%, 69%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Moonstone gradient uses 3 colours: #F4F8FF, #C9D6EA and #9AA9C7, at an angle of 150°.
Paste background: linear-gradient(150deg, #F4F8FF, #C9D6EA, #9AA9C7); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 13.8:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.