Colors

The mercury.com color palette

mercury.com builds its pages on #171721 with #ededf3 text and #5266eb as the accent, the color of its primary buttons and links. The 8 colors below were measured from the live site.

Measured from mercury.com 4 days ago.

Palette

8 colors
ColorsRoleHexRGB
backgroundPage background#171721rgb(23 23 33)
surfaceCards, panels, raised or recessed surfaces#353644rgb(53 54 68)
surface-2Secondary surface#20202crgb(32 32 44)
foregroundPrimary text#ededf3rgb(237 237 243)
muted-foregroundSecondary text, captions#c3c3ccrgb(195 195 204)
primaryCandidate accent (semantic role inferred)#5266ebrgb(82 102 235)
on-primaryText on the accent#ffffffrgb(255 255 255)
borderHairlines, dividers, input borders#70707drgb(112 112 125)
Text on the page background
15.25:1 · passes WCAG AA
Text on the accent
4.71:1 · passes WCAG AA

CSS variables

Every color as a custom property, named by role. The dark block is there when the site has a dark theme.

:root {
  --color-background: #171721;
  --color-surface: #353644;
  --color-surface-2: #20202c;
  --color-foreground: #ededf3;
  --color-muted-foreground: #c3c3cc;
  --color-primary: #5266eb;
  --color-on-primary: #ffffff;
  --color-border: #70707d;
}

For AI agents

The pack is plain text, no key: fetch DESIGN.md, or hand the whole pack to Claude Code, Cursor or Copilot with the MCP server.

curl -s https://stylepack.ai/packs/mercury.com/DESIGN.md

Questions

What are the mercury.com brand colors?

The main mercury.com colors are #5266eb (accent), #171721 (background) and #ededf3 (text). The full palette of 8 colors, with the role of each, is on this page as hex codes.

What is the mercury.com hex code?

The accent color on mercury.com is #5266eb; the page background is #171721 and the main text color #ededf3. Each is measured from the rendered page, so it is what visitors see, not a value from a style guide.

How do I use the mercury.com colors in Tailwind or CSS?

Copy the CSS variables or the Tailwind v4 theme on this page, or download the design pack: it includes tokens.json (W3C design tokens), tokens.css and tailwind.css with the same values.