
Mercury
Business banking for startups and growing companies
The style
A calm, premium banking language. Soft off-white pages alternate with deep blue-black bands, headlines are set in a quiet, even-weight sans, and a single periwinkle-indigo pill carries every action. Imagery does the emotional work while the interface stays understated, spacious and precise.
Colours
- Brand#585eeb
- Buttons#585eeb
- Highlight#d5792a
- Background#fbfaf7
- Text#1e1e2a
Click a colour to copy it.
Fonts
Plus Jakarta Sans
For headings
Plus Jakarta Sans
For everything else
Free fonts that look like Mercury’s own, so you can use them anywhere.
Buttons
40px indigo pills with white labels for the main action; quiet text links elsewhere.
Use this style in your project
Pick the way that suits you. The first one needs no design or coding knowledge.
With an AI tool
Your AI tool builds the page for you, in Mercury’s style.
2. Open it in
For developers
Ready-made CSS variables, a Tailwind theme and design tokens, with light and dark modes.
See the codeMake it your own
Change the colours, fonts and shapes, and see the result straight away before you use it.
CustomiseFiles
The code, ready to copy
Every file says where the style came from.
tokens.css — Colours, fonts and sizes as CSS variables, with light and dark modes.
/* Night Ledger — design tokens generated by Markdown */
/* Derived from an analysis of mercury.com; how different from the source: a little different (30/100). */
/* Inspired by, not a copy of, the source. Adapt before commercial use; no logos, imagery, copy or proprietary fonts are included. */
:root {
color-scheme: light;
--color-background: #fbfaf7;
--color-surface: #ffffff;
--color-surface-muted: #f0efed;
--color-text: #1e1e2a;
--color-text-muted: #6d6d73;
--color-border: #e6e6ec;
--color-primary: #585eeb;
--color-on-primary: #ffffff;
--color-brand: #585eeb;
--color-on-brand: #ffffff;
--color-accent: #d5792a;
--color-success: #127d44;
--color-warning: #986416;
--color-danger: #c4271c;
--font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
--text-display: 3.25rem;
--text-display-line-height: 1.1;
--text-display-weight: 500;
--text-display-tracking: 0em;
--text-h1: 2.5625rem;
--text-h1-line-height: 1.13;
--text-h1-weight: 500;
--text-h1-tracking: 0em;
--text-h2: 2.0625rem;
--text-h2-line-height: 1.16;
--text-h2-weight: 500;
--text-h2-tracking: 0em;
--text-h3: 1.625rem;
--text-h3-line-height: 1.22;
--text-h3-weight: 500;
--text-h3-tracking: 0em;
--text-lead: 1.25rem;
--text-lead-line-height: 1.5;
--text-lead-weight: 400;
--text-lead-tracking: -0.005em;
--text-body: 1rem;
--text-body-line-height: 1.6;
--text-body-weight: 400;
--text-body-tracking: 0em;
--text-small: 0.8125rem;
--text-small-line-height: 1.5;
--text-small-weight: 400;
--text-small-tracking: 0.005em;
--text-caption: 0.6875rem;
--text-caption-line-height: 1.4;
--text-caption-weight: 400;
--text-caption-tracking: 0.01em;
--text-label: 0.8125rem;
--text-label-line-height: 1.3;
--text-label-weight: 600;
--text-label-tracking: 0.01em;
--text-code: 0.875rem;
--text-code-line-height: 1.55;
--text-code-weight: 400;
--text-code-tracking: 0em;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 32px;
--space-6: 40px;
--space-7: 64px;
--space-8: 80px;
--space-9: 120px;
--space-10: 160px;
--radius-none: 0px;
--radius-sm: 5px;
--radius-md: 10px;
--radius-lg: 15px;
--radius-xl: 25px;
--radius-full: 9999px;
--border-width: 1px;
--shadow-sm: none;
--shadow-md: none;
--shadow-lg: none;
--duration-fast: 190ms;
--duration-base: 320ms;
--duration-slow: 550ms;
--ease-standard: cubic-bezier(0, 0, 0.2, 1);
--ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
--ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
--container: 1400px;
--gutter: 24px;
--button-radius: 9999px;
--button-padding: 10px 20px;
--input-radius: 10px;
--input-height: 48px;
--card-radius: 12px;
--card-padding: 24px;
--badge-radius: 9999px;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--color-background: #161410;
--color-surface: #22201c;
--color-surface-muted: #272521;
--color-text: #f0eeea;
--color-text-muted: #9d9b97;
--color-border: #42403c;
--color-primary: #585eeb;
--color-on-primary: #ffffff;
--color-brand: #585eeb;
--color-on-brand: #ffffff;
--color-accent: #df995d;
--color-success: #55e799;
--color-warning: #e6a84c;
--color-danger: #e8685e;
}
}
[data-theme="dark"] {
color-scheme: dark;
--color-background: #161410;
--color-surface: #22201c;
--color-surface-muted: #272521;
--color-text: #f0eeea;
--color-text-muted: #9d9b97;
--color-border: #42403c;
--color-primary: #585eeb;
--color-on-primary: #ffffff;
--color-brand: #585eeb;
--color-on-brand: #ffffff;
--color-accent: #df995d;
--color-success: #55e799;
--color-warning: #e6a84c;
--color-danger: #e8685e;
}
@media (prefers-reduced-motion: reduce) {
:root { --duration-fast: 0ms; --duration-base: 0ms; --duration-slow: 0ms; }
}
See every detail
Buttons
Inputs
Badges
Project
Quarterly field notes
A card groups one idea: a title, one line of support and a clear next step.
Weekly digest is ready
Three new comments and one approval.
npm i @brandless/ui01
Colour
Semantic roles for light mode. Contrast is checked against WCAG AA as you edit.
Background
Surface
Surface muted
- AA 15.8:1
Text
- AA 4.9:1
Text muted
Border
- AA 4.8:1
Primary
- AA 5.0:1
On primary
Brand
- AA 5.0:1
On brand
- AA 3.0:1
Accent
- AA 5.0:1
Success
- AA 4.8:1
Warning
- AA 5.5:1
Danger
02
Typography
Base 16px on a 1.268 modular scale. Only open-licence fonts are recommended.
display
Plus Jakarta Sans
body
Plus Jakarta Sans
mono
Space Mono
display · 52px / 1.1 · 500 · 0em
The quiet grammar of form
h1 · 41px / 1.13 · 500 · 0em
The quiet grammar of form
h2 · 33px / 1.16 · 500 · 0em
The quiet grammar of form
h3 · 26px / 1.22 · 500 · 0em
The quiet grammar of form
lead · 20px / 1.5 · 400 · -0.005em
Readable text sets the pace of an interface.
body · 16px / 1.6 · 400 · 0em
Readable text sets the pace of an interface.
small · 13px / 1.5 · 400 · 0.005em
Readable text sets the pace of an interface.
caption · 11px / 1.4 · 400 · 0.01em
Readable text sets the pace of an interface.
label · 13px / 1.3 · 600 · 0.01em
Readable text sets the pace of an interface.
code · 14px / 1.55 · 400 · 0em
const tokens = await load();
03
Spacing
A 8px base unit. Use the scale for padding, gaps and section rhythm.
- 4px
- 8px
- 12px
- 16px
- 32px
- 40px
- 64px
- 80px
- 120px
- 160px
04
Shape & surface
Flat, paper-like planes separated by fine rules instead of elevation.
Radii
none
0px
sm
5px
md
10px
lg
15px
xl
25px
full
pill
Shadows & borders
none
none
none
Borders: 1px hairline · Surfaces: paper
06
Layout
1400px container · 12 columns · 24px gutters
Patterns
- Wide single-column hero with generous vertical rhythm between sections.
- Twelve-column grid; content blocks usually span 4, 6 or 8 columns.
- Full-bleed bands for feature sections, inner content capped at the container.
- Reading text limited to roughly 65–72 characters per line.
Responsive principles
- Below md, grids collapse to a single column and side gutters drop to 16px.
- Type steps above h2 scale down one step on small screens.
- Navigation collapses to a disclosure menu below lg.
- Touch targets stay at least 44×44px on every breakpoint.
07
Motion
Durations and easing curves. Previews respect your reduced-motion setting.
- fast190ms
- base320ms
- slow550ms
ease-standard
ease-enter
ease-exit
Principles
- Motion is measured and calm, easing into place rather than snapping.
- Animate opacity and transform only; avoid animating layout.
- Respect prefers-reduced-motion by replacing movement with instant state changes or fades.
Mercury, its logo and trademarks belong to their owner and are shown only to say where this style comes from. This is our own study of their public website — not made or endorsed by Mercury. Use your own words and images.
More like Mercury
- New

Superpower
A health membership with 100+ lab tests a year
- New
Vercel
A cloud platform for building and shipping websites
- New
Linear
Plan and build products with your team and AI agents