Midnight Figma gradient
Create a midnight figma gradient. This page gives you a ready-to-use color system, export code, and a live gradient preview — no design tools required.
Color palette
Midnight Figma gradient explained
The midnight figma gradient pairs #4b5768 as its primary hue with #303541 as the accent. The palette is balanced for midnight aesthetics while keeping text readable against the surface color.
Every swatch is derived from the same two anchor colors, so the figma gradient stays harmonious across backgrounds, borders, buttons, and hover states. Copy the CSS below or open it in your favorite tool and apply it immediately.
Use the preview image as a starting point for your own mockups. It shows the exact #4b5768 → #0b1120 gradient applied to a phone screen, a primary button, and a wave pattern so you can see how the midnight look plays out in a real interface.
Export code
/* CSS Custom Properties */
:root {
--background: #e4e6e8;
--surface: #f3f4f5;
--text-primary: #111827;
--text-secondary: #70757e;
--primary: #4b5768;
--secondary: #0b1120;
--accent: #303541;
}
/* Tailwind CSS config (extend.colors) */
module.exports = {
theme: {
extend: {
colors: {
'background': '#e4e6e8',
'surface': '#f3f4f5',
'text-primary': '#111827',
'text-secondary': '#70757e',
'primary': '#4b5768',
'secondary': '#0b1120',
'accent': '#303541',
}
}
}
};