#3D7EAA
#FFE47A
Opa is a cool and bold 2-colour linear gradient that runs from blue (#3D7EAA) to light yellow (#FFE47A) at 135°. It suits dashboards and SaaS landing pages and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 9.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #3D7EAA, #FFE47A);
bg-gradient-to-br from-[#3D7EAA] to-[#FFE47A]
{
"opa": {
"value": "linear-gradient(135deg, #3D7EAA 0%, #FFE47A 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let opaGradient = LinearGradient(
colors: [
Color(red: 0.239, green: 0.494, blue: 0.667),
Color(red: 1, green: 0.894, blue: 0.478)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(opaGradient)val opaColors = listOf(Color(0xFF3D7EAA), Color(0xFFFFE47A))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = opaColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/opa_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#3D7EAA"
android:endColor="#FFE47A"
android:type="linear" />
</shape>const opaGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF3D7EAA), Color(0xFFFFE47A)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: opaGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#3D7EAA', '#FFE47A']}
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="opa" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#3D7EAA" />
<stop offset="100%" stop-color="#FFE47A" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#opa)" />
</svg>:root {
--opa-1: #3D7EAA;
--opa-2: #FFE47A;
--opa-angle: 135deg;
--opa: linear-gradient(var(--opa-angle), var(--opa-1), var(--opa-2));
}
.hero {
background: var(--opa);
}$opa-1: #3D7EAA;
$opa-2: #FFE47A;
$opa: linear-gradient(135deg, $opa-1, $opa-2);
@mixin opa-bg {
background: $opa-1;
background: $opa;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Blue | #3D7EAA | rgb(61, 126, 170) | hsl(204, 47%, 45%) |
| 2 | Light yellow | #FFE47A | rgb(255, 228, 122) | hsl(48, 100%, 74%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Opa gradient uses 2 colours: #3D7EAA and #FFE47A, at an angle of 135°.
Paste background: linear-gradient(135deg, #3D7EAA, #FFE47A); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 9.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.