Studio Cobalt
Hero background · linear · 135°
- #0B2A4A· 0%
- #0F4C81· 55%
- #3B82B8· 100%
background: linear-gradient(135deg, #0B2A4A 0%, #0F4C81 55%, #3B82B8 100%);
Gradient library · Blue background
Ten blue gradient backgrounds for hero sections, full-page surfaces, marketing pages, and product UI. Each preset is built for legibility under white or dark headlines — copy the CSS and ship.
Studio Cobalt · #0B2A4A → #0F4C81 → #3B82B8
Five anchor colors that show up across every preset in this library. Copy any one to use it directly.
Anchor dark
Marine Ink
#0B2A4A
Mid dark
Cobalt
#0F4C81
Mid
Studio Blue
#3B82B8
Tint
Powder Sky
#7DD3FC
Accent
Atlantic Teal
#14B8A6
Copy the CSS in one tap, or open any preset in the generator to adjust angle, stops, and type.
Hero background · linear · 135°
background: linear-gradient(135deg, #0B2A4A 0%, #0F4C81 55%, #3B82B8 100%);
Full-page surface · linear · 180°
background: linear-gradient(180deg, #E0F2FE 0%, #7DD3FC 100%);
Dark hero · linear · 200°
background: linear-gradient(200deg, #0C1B33 0%, #1E40AF 100%);
Card panel · linear · 90°
background: linear-gradient(90deg, #0EA5E9 0%, #1D4ED8 100%);
Marketing section · linear · 160°
background: linear-gradient(160deg, #0F4C5C 0%, #14B8A6 100%);
Light marketing hero · linear · 180°
background: linear-gradient(180deg, #F0F9FF 0%, #93C5FD 100%);
Brand surface · linear · 135°
background: linear-gradient(135deg, #1E3A8A 0%, #60A5FA 100%);
Spotlight card · radial
background: radial-gradient(circle at center, #3B82F6 0%, #0B2A4A 100%);
Dashboard background · linear · 110°
background: linear-gradient(110deg, #1E293B 0%, #0284C7 100%);
Decorative ring · conic · 0°
background: conic-gradient(from 0deg at center, #0F4C81 0%, #14B8A6 33%, #7DD3FC 66%, #0F4C81 100%);
Blues
Blue is the most trusted hue across cultures and the easiest to read white text against, which is why every category from banking to enterprise SaaS to healthcare reaches for it. A blue gradient background takes that trust signal and adds depth: the eye registers it as a surface rather than a flat color, and the implied light direction makes the layout feel three-dimensional. Pair a deep navy anchor (#0B2A4A) with a brighter cobalt (#0F4C81) and you have a hero background that holds attention without competing with the headline.
Full-page backgrounds want the gentlest gradients — Sky Linen and Powder Daylight stay close to a single hue and let copy lead. Hero sections want directional movement — Studio Cobalt and Navy Velvet sweep from dark to lighter and pull the eye toward the headline. Cards and product UI want short, contained gradients — Cerulean Wash and Glacier Ink give surface depth without dominating. Marketing accents can afford louder moves — Atlantic Teal and Royal Field cover more spectrum and read as energetic.
Test text contrast against the lightest stop of the gradient, not the darkest. Studio Cobalt, Navy Velvet, and Twilight Spotlight all hold white text at WCAG AAA. Sky Linen and Powder Daylight require dark ink (#1d1d1f) — never light gray — for body copy to pass AA. If you need both light and dark text in the same layout, split the gradient across the fold and pin each text block to the matching half.
Step 1
Choose the blue background preset that matches the surface — hero, full page, or card.
Step 2
Tap copy to grab the gradient declaration for your stylesheet.
Step 3
Apply the gradient to a container with min-height set to fill the viewport, then layer headline and body text on top.
linear-gradient() to the background of an element that fills the viewport, for example body { background: linear-gradient(135deg, #0F4C81 0%, #3B82B8 100%); min-height: 100vh; }.background-position on a 200%-wide gradient rather than transitioning the gradient itself — CSS cannot interpolate gradient stops, but it can pan a long gradient smoothly.Move from preset to working file without retyping a hex code.
Open the anchor stops in the gradient generator to tune angle, stops, and type.
Open tool →
Test white headlines against the gradient's darkest stop for WCAG AA and AAA.
Open tool →
Open the anchor hex in the color converter for RGB, HSL, and CMYK notation.
Open tool →
Jump to the next family — every page ships with the same preset, anchor, and CSS structure.
Greens
Green gradient CSS — sage, forest, emerald.
Sage, forest, emerald, mint, and lime presets with copy-ready CSS.
Open greens →
Purples
Purple gradient CSS — lavender, violet, plum.
Lavender, violet, plum, indigo, and orchid CSS presets.
Open purples →
Pinks
Pink gradient CSS — blush, rose, magenta.
Blush, magenta, rose, coral, and bubblegum CSS presets.
Open pinks →
Black & charcoal
Black gradient CSS — fades, overlays, dark mode.
Hero overlays, image scrims, dark mode cards, plus black-to-transparent recipes.
Open black & charcoal →
Copy every anchor hex — or jump into the gradient generator to build your own version of the heroes above.