Mesh Gradient Dark Blue Clean
Use When
- The whole page should feel futuristic, premium, clean, and infrastructural.
- A dark-blue mesh gradient should power the composition, not sit behind it as a generic backdrop.
- The interface needs a central hero shell, restrained navigation, floating network hints, framed sections, and slow technical motion.
Direction
Build on a near-black foundation with a deep navy or steel-blue undertone. Place a shader-like mesh gradient, CPPN-style field, abstract WebGL veil, or canvas light field inside the main hero shell. Keep the surrounding system disciplined: crisp typography, thin rails, corner markers, tiny status dots, quiet frames, and sparse node callouts.
This is not an airy blue page. This is not generic glassmorphism. The mesh is the visual engine inside a minimal system shell.
System Recipe
- Foundation: near-black navy, not flat black.
- Hero shell: large rounded container with a subtle white-to-transparent gradient border and darker inner fill.
- Mesh field: blue-led procedural canvas or WebGL layer inside the shell.
- Typography: white headlines, gray-blue support copy, restrained accents.
- Navigation: compact dark translucent pill with light edge gradient.
- Nodes: a few floating glass pills, active dots, tiny labels, and connector lines.
- Structure: thin vertical rails, corner squares, numeric markers, and framed lower sections.
- CTAs: one bright solid capsule plus one ghost or glass capsule with a faint border gradient.
- Motion: slow mesh drift, subtle scan streaks, masked text reveal, or tiny node shimmer.
Color Tokens
:root {
--mesh-bg: #030712;
--mesh-bg-blue: #07111f;
--mesh-shell: rgba(7, 13, 25, 0.82);
--mesh-shell-inner: rgba(4, 9, 18, 0.72);
--mesh-line: rgba(191, 219, 254, 0.14);
--mesh-line-strong: rgba(226, 232, 240, 0.28);
--mesh-text: #f8fafc;
--mesh-copy: #9fb2ca;
--mesh-muted: #64748b;
--mesh-accent: #dbeafe;
--mesh-cobalt: #1d4ed8;
--mesh-indigo: #312e81;
--mesh-steel: #385a7c;
}
Page Foundation
.mesh-page {
min-height: 100vh;
color: var(--mesh-text);
background:
radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.18), transparent 34rem),
linear-gradient(180deg, var(--mesh-bg-blue), var(--mesh-bg) 48%, #01030a);
}
.mesh-page::selection {
color: #020617;
background: var(--mesh-accent);
}
Hero Shell
Use a border-gradient wrapper and a darker content surface. The mesh canvas sits behind the content inside the shell.
.mesh-shell {
position: relative;
overflow: hidden;
border: 1px solid transparent;
border-radius: 32px;
background:
linear-gradient(var(--mesh-shell), var(--mesh-shell)) padding-box,
linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(147, 197, 253, 0.18), rgba(255, 255, 255, 0.04)) border-box;
box-shadow:
0 40px 100px rgba(0, 0, 0, 0.42),
inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.mesh-shell__field {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
opacity: 0.78;
pointer-events: none;
}
.mesh-shell__content {
position: relative;
z-index: 2;
min-height: clamp(560px, 72vh, 820px);
padding: clamp(28px, 6vw, 84px);
background:
linear-gradient(180deg, rgba(4, 9, 18, 0.22), rgba(4, 9, 18, 0.62)),
var(--mesh-shell-inner);
}
<section class="mesh-shell">
<canvas class="mesh-shell__field" data-dark-blue-mesh></canvas>
<div class="mesh-shell__content">
<nav class="mesh-nav">...</nav>
<h1>Infrastructure for intelligent interfaces.</h1>
<p>...</p>
</div>
</section>
Canvas Mesh Field
Use WebGL or Three.js for the final build when available. This 2D canvas pattern is a good fallback for warped gradients, soft mesh movement, and smoky blue highlights.
function initDarkBlueMesh(canvas) {
const ctx = canvas.getContext("2d");
const reduceMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
let width = 0;
let height = 0;
let frame = 0;
let rafId = 0;
const points = [
{ x: 0.18, y: 0.30, r: 0.45, color: "rgba(29, 78, 216, 0.55)" },
{ x: 0.68, y: 0.22, r: 0.38, color: "rgba(49, 46, 129, 0.58)" },
{ x: 0.78, y: 0.72, r: 0.52, color: "rgba(56, 90, 124, 0.48)" },
{ x: 0.42, y: 0.58, r: 0.34, color: "rgba(219, 234, 254, 0.18)" },
];
function resize() {
const rect = canvas.getBoundingClientRect();
const dpr = Math.min(window.devicePixelRatio || 1, 1.5);
width = Math.max(1, rect.width);
height = Math.max(1, rect.height);
canvas.width = Math.floor(width * dpr);
canvas.height = Math.floor(height * dpr);
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
}
function draw(time = 0) {
ctx.clearRect(0, 0, width, height);
ctx.fillStyle = "#030712";
ctx.fillRect(0, 0, width, height);
ctx.globalCompositeOperation = "screen";
points.forEach((point, index) => {
const drift = reduceMotion ? 0 : Math.sin(time * 0.00018 + index) * 24;
const x = point.x * width + drift;
const y = point.y * height + Math.cos(time * 0.00016 + index) * 18;
const radius = Math.max(width, height) * point.r;
const gradient = ctx.createRadialGradient(x, y, 0, x, y, radius);
gradient.addColorStop(0, point.color);
gradient.addColorStop(1, "rgba(3, 7, 18, 0)");
ctx.fillStyle = gradient;
ctx.fillRect(0, 0, width, height);
});
ctx.globalCompositeOperation = "source-over";
ctx.fillStyle = "rgba(255, 255, 255, 0.035)";
for (let y = (frame % 28); y < height; y += 28) {
ctx.fillRect(0, y, width, 1);
}
frame += 1;
if (!reduceMotion) rafId = requestAnimationFrame(draw);
}
function handleResize() {
cancelAnimationFrame(rafId);
resize();
draw();
}
resize();
draw();
window.addEventListener("resize", handleResize);
return () => {
cancelAnimationFrame(rafId);
window.removeEventListener("resize", handleResize);
};
}
Navigation
.mesh-nav {
display: flex;
align-items: center;
gap: 6px;
width: fit-content;
padding: 6px;
border: 1px solid transparent;
border-radius: 999px;
background:
linear-gradient(rgba(5, 12, 24, 0.76), rgba(5, 12, 24, 0.76)) padding-box,
linear-gradient(120deg, rgba(255, 255, 255, 0.28), rgba(96, 165, 250, 0.16), rgba(255, 255, 255, 0.04)) border-box;
backdrop-filter: blur(18px);
}
.mesh-nav a {
color: var(--mesh-copy);
border-radius: 999px;
padding: 9px 14px;
text-decoration: none;
}
.mesh-nav a:hover,
.mesh-nav a[aria-current="page"] {
color: var(--mesh-text);
background: rgba(255, 255, 255, 0.08);
}
Nodes And Rails
.mesh-node {
position: absolute;
display: inline-flex;
align-items: center;
gap: 8px;
border: 1px solid rgba(191, 219, 254, 0.18);
border-radius: 999px;
padding: 7px 10px;
color: var(--mesh-copy);
background: rgba(5, 12, 24, 0.58);
backdrop-filter: blur(14px);
font-size: 12px;
}
.mesh-node::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: #bfdbfe;
box-shadow: 0 0 18px rgba(147, 197, 253, 0.72);
}
.mesh-rail {
position: absolute;
top: 0;
bottom: 0;
width: 1px;
background: linear-gradient(180deg, transparent, var(--mesh-line), transparent);
}
.mesh-corner {
position: absolute;
width: 6px;
height: 6px;
background: var(--mesh-line-strong);
}
CTA Pair
.mesh-cta-primary {
color: #020617;
background: #f8fafc;
box-shadow: 0 16px 36px rgba(219, 234, 254, 0.18);
}
.mesh-cta-secondary {
color: var(--mesh-text);
border: 1px solid transparent;
background:
linear-gradient(rgba(5, 12, 24, 0.62), rgba(5, 12, 24, 0.62)) padding-box,
linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(96, 165, 250, 0.12), rgba(255, 255, 255, 0.04)) border-box;
}
Motion Defaults
- Mesh drift: very slow, 12s to 28s loops, no sharp easing.
- Scan streaks: sparse vertical drops or horizontal lines, low opacity.
- Text: masked reveal on hero headline and section labels only.
- Nodes: shimmer or pulse at low intensity, not constant blinking.
- Reduced motion: freeze mesh, remove shimmer, keep layout and contrast intact.
Tuning Knobs
- Mesh visibility: increase opacity only until mood is legible; copy stays primary.
- Blue hue: shift between indigo, navy, cobalt, and steel blue while preserving the dark base.
- Shell contrast: tune outer border, inner fill, and canvas opacity until layers feel crisp.
- Network density: add fewer nodes for luxury, more markers for technical infrastructure.
- Motion intensity: slow and atmospheric, never game-like.
Avoid
- Flat CSS gradients with no mesh-like depth or procedural character.
- Bright cyan overload or electric-blue glow everywhere.
- Crowded dashboards, excessive floating widgets, or competing cards.
- Generic translucent blobs with no rails, frames, markers, or system structure.
- Overbuilt shader effects that reduce readability.
- Airy light-blue sections that break the dark premium atmosphere.
Quick Checks
- The mesh is visible inside the hero shell and feels dimensional.
- The foundation reads near-black navy, not flat black or bright blue.
- The shell has a crisp border-gradient edge and darker inner surface.
- Typography remains bright, sharp, and readable over the field.
- Nodes, rails, markers, and scan lines are sparse and aligned.
- CTAs have clear contrast: solid primary, glass secondary.
1---2name: mesh-gradient-dark-blue-clean3description: Create a futuristic, premium, clean dark-blue mesh-gradient design system across background rendering, hero shell, navigation, floating nodes, framed sections, CTAs, and motion. Use when the interface needs a near-black navy foundation, procedural blue mesh atmosphere, disciplined minimal structure, and infrastructural or planetary depth.4metadata:5 source: https://skillmd.com/skills/mengto/mesh-gradient-dark-blue-clean6---78# Mesh Gradient Dark Blue Clean910## Use When11- The whole page should feel futuristic, premium, clean, and infrastructural.12- A dark-blue mesh gradient should power the composition, not sit behind it as a generic backdrop.13- The interface needs a central hero shell, restrained navigation, floating network hints, framed sections, and slow technical motion.1415## Direction16Build on a near-black foundation with a deep navy or steel-blue undertone. Place a shader-like mesh gradient, CPPN-style field, abstract WebGL veil, or canvas light field inside the main hero shell. Keep the surrounding system disciplined: crisp typography, thin rails, corner markers, tiny status dots, quiet frames, and sparse node callouts.1718This is not an airy blue page. This is not generic glassmorphism. The mesh is the visual engine inside a minimal system shell.1920## System Recipe211. Foundation: near-black navy, not flat black.222. Hero shell: large rounded container with a subtle white-to-transparent gradient border and darker inner fill.233. Mesh field: blue-led procedural canvas or WebGL layer inside the shell.244. Typography: white headlines, gray-blue support copy, restrained accents.255. Navigation: compact dark translucent pill with light edge gradient.266. Nodes: a few floating glass pills, active dots, tiny labels, and connector lines.277. Structure: thin vertical rails, corner squares, numeric markers, and framed lower sections.288. CTAs: one bright solid capsule plus one ghost or glass capsule with a faint border gradient.299. Motion: slow mesh drift, subtle scan streaks, masked text reveal, or tiny node shimmer.3031## Color Tokens3233```css34:root {35 --mesh-bg: #030712;36 --mesh-bg-blue: #07111f;37 --mesh-shell: rgba(7, 13, 25, 0.82);38 --mesh-shell-inner: rgba(4, 9, 18, 0.72);39 --mesh-line: rgba(191, 219, 254, 0.14);40 --mesh-line-strong: rgba(226, 232, 240, 0.28);41 --mesh-text: #f8fafc;42 --mesh-copy: #9fb2ca;43 --mesh-muted: #64748b;44 --mesh-accent: #dbeafe;45 --mesh-cobalt: #1d4ed8;46 --mesh-indigo: #312e81;47 --mesh-steel: #385a7c;48}49```5051## Page Foundation5253```css54.mesh-page {55 min-height: 100vh;56 color: var(--mesh-text);57 background:58 radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.18), transparent 34rem),59 linear-gradient(180deg, var(--mesh-bg-blue), var(--mesh-bg) 48%, #01030a);60}6162.mesh-page::selection {63 color: #020617;64 background: var(--mesh-accent);65}66```6768## Hero Shell69Use a border-gradient wrapper and a darker content surface. The mesh canvas sits behind the content inside the shell.7071```css72.mesh-shell {73 position: relative;74 overflow: hidden;75 border: 1px solid transparent;76 border-radius: 32px;77 background:78 linear-gradient(var(--mesh-shell), var(--mesh-shell)) padding-box,79 linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(147, 197, 253, 0.18), rgba(255, 255, 255, 0.04)) border-box;80 box-shadow:81 0 40px 100px rgba(0, 0, 0, 0.42),82 inset 0 1px 0 rgba(255, 255, 255, 0.10);83}8485.mesh-shell__field {86 position: absolute;87 inset: 0;88 width: 100%;89 height: 100%;90 opacity: 0.78;91 pointer-events: none;92}9394.mesh-shell__content {95 position: relative;96 z-index: 2;97 min-height: clamp(560px, 72vh, 820px);98 padding: clamp(28px, 6vw, 84px);99 background:100 linear-gradient(180deg, rgba(4, 9, 18, 0.22), rgba(4, 9, 18, 0.62)),101 var(--mesh-shell-inner);102}103```104105```html106<section class="mesh-shell">107 <canvas class="mesh-shell__field" data-dark-blue-mesh></canvas>108 <div class="mesh-shell__content">109 <nav class="mesh-nav">...</nav>110 <h1>Infrastructure for intelligent interfaces.</h1>111 <p>...</p>112 </div>113</section>114```115116## Canvas Mesh Field117Use WebGL or Three.js for the final build when available. This 2D canvas pattern is a good fallback for warped gradients, soft mesh movement, and smoky blue highlights.118119```js120function initDarkBlueMesh(canvas) {121 const ctx = canvas.getContext("2d");122 const reduceMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;123 let width = 0;124 let height = 0;125 let frame = 0;126 let rafId = 0;127128 const points = [129 { x: 0.18, y: 0.30, r: 0.45, color: "rgba(29, 78, 216, 0.55)" },130 { x: 0.68, y: 0.22, r: 0.38, color: "rgba(49, 46, 129, 0.58)" },131 { x: 0.78, y: 0.72, r: 0.52, color: "rgba(56, 90, 124, 0.48)" },132 { x: 0.42, y: 0.58, r: 0.34, color: "rgba(219, 234, 254, 0.18)" },133 ];134135 function resize() {136 const rect = canvas.getBoundingClientRect();137 const dpr = Math.min(window.devicePixelRatio || 1, 1.5);138 width = Math.max(1, rect.width);139 height = Math.max(1, rect.height);140 canvas.width = Math.floor(width * dpr);141 canvas.height = Math.floor(height * dpr);142 ctx.setTransform(dpr, 0, 0, dpr, 0, 0);143 }144145 function draw(time = 0) {146 ctx.clearRect(0, 0, width, height);147 ctx.fillStyle = "#030712";148 ctx.fillRect(0, 0, width, height);149 ctx.globalCompositeOperation = "screen";150151 points.forEach((point, index) => {152 const drift = reduceMotion ? 0 : Math.sin(time * 0.00018 + index) * 24;153 const x = point.x * width + drift;154 const y = point.y * height + Math.cos(time * 0.00016 + index) * 18;155 const radius = Math.max(width, height) * point.r;156 const gradient = ctx.createRadialGradient(x, y, 0, x, y, radius);157 gradient.addColorStop(0, point.color);158 gradient.addColorStop(1, "rgba(3, 7, 18, 0)");159 ctx.fillStyle = gradient;160 ctx.fillRect(0, 0, width, height);161 });162163 ctx.globalCompositeOperation = "source-over";164 ctx.fillStyle = "rgba(255, 255, 255, 0.035)";165 for (let y = (frame % 28); y < height; y += 28) {166 ctx.fillRect(0, y, width, 1);167 }168169 frame += 1;170 if (!reduceMotion) rafId = requestAnimationFrame(draw);171 }172173 function handleResize() {174 cancelAnimationFrame(rafId);175 resize();176 draw();177 }178179 resize();180 draw();181 window.addEventListener("resize", handleResize);182183 return () => {184 cancelAnimationFrame(rafId);185 window.removeEventListener("resize", handleResize);186 };187}188```189190## Navigation191192```css193.mesh-nav {194 display: flex;195 align-items: center;196 gap: 6px;197 width: fit-content;198 padding: 6px;199 border: 1px solid transparent;200 border-radius: 999px;201 background:202 linear-gradient(rgba(5, 12, 24, 0.76), rgba(5, 12, 24, 0.76)) padding-box,203 linear-gradient(120deg, rgba(255, 255, 255, 0.28), rgba(96, 165, 250, 0.16), rgba(255, 255, 255, 0.04)) border-box;204 backdrop-filter: blur(18px);205}206207.mesh-nav a {208 color: var(--mesh-copy);209 border-radius: 999px;210 padding: 9px 14px;211 text-decoration: none;212}213214.mesh-nav a:hover,215.mesh-nav a[aria-current="page"] {216 color: var(--mesh-text);217 background: rgba(255, 255, 255, 0.08);218}219```220221## Nodes And Rails222223```css224.mesh-node {225 position: absolute;226 display: inline-flex;227 align-items: center;228 gap: 8px;229 border: 1px solid rgba(191, 219, 254, 0.18);230 border-radius: 999px;231 padding: 7px 10px;232 color: var(--mesh-copy);233 background: rgba(5, 12, 24, 0.58);234 backdrop-filter: blur(14px);235 font-size: 12px;236}237238.mesh-node::before {239 content: "";240 width: 6px;241 height: 6px;242 border-radius: 50%;243 background: #bfdbfe;244 box-shadow: 0 0 18px rgba(147, 197, 253, 0.72);245}246247.mesh-rail {248 position: absolute;249 top: 0;250 bottom: 0;251 width: 1px;252 background: linear-gradient(180deg, transparent, var(--mesh-line), transparent);253}254255.mesh-corner {256 position: absolute;257 width: 6px;258 height: 6px;259 background: var(--mesh-line-strong);260}261```262263## CTA Pair264265```css266.mesh-cta-primary {267 color: #020617;268 background: #f8fafc;269 box-shadow: 0 16px 36px rgba(219, 234, 254, 0.18);270}271272.mesh-cta-secondary {273 color: var(--mesh-text);274 border: 1px solid transparent;275 background:276 linear-gradient(rgba(5, 12, 24, 0.62), rgba(5, 12, 24, 0.62)) padding-box,277 linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(96, 165, 250, 0.12), rgba(255, 255, 255, 0.04)) border-box;278}279```280281## Motion Defaults282- Mesh drift: very slow, 12s to 28s loops, no sharp easing.283- Scan streaks: sparse vertical drops or horizontal lines, low opacity.284- Text: masked reveal on hero headline and section labels only.285- Nodes: shimmer or pulse at low intensity, not constant blinking.286- Reduced motion: freeze mesh, remove shimmer, keep layout and contrast intact.287288## Tuning Knobs289- Mesh visibility: increase opacity only until mood is legible; copy stays primary.290- Blue hue: shift between indigo, navy, cobalt, and steel blue while preserving the dark base.291- Shell contrast: tune outer border, inner fill, and canvas opacity until layers feel crisp.292- Network density: add fewer nodes for luxury, more markers for technical infrastructure.293- Motion intensity: slow and atmospheric, never game-like.294295## Avoid296- Flat CSS gradients with no mesh-like depth or procedural character.297- Bright cyan overload or electric-blue glow everywhere.298- Crowded dashboards, excessive floating widgets, or competing cards.299- Generic translucent blobs with no rails, frames, markers, or system structure.300- Overbuilt shader effects that reduce readability.301- Airy light-blue sections that break the dark premium atmosphere.302303## Quick Checks304- The mesh is visible inside the hero shell and feels dimensional.305- The foundation reads near-black navy, not flat black or bright blue.306- The shell has a crisp border-gradient edge and darker inner surface.307- Typography remains bright, sharp, and readable over the field.308- Nodes, rails, markers, and scan lines are sparse and aligned.309- CTAs have clear contrast: solid primary, glass secondary.