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| Colors | Role | Hex | RGB |
|---|---|---|---|
background | Page background | #171721 | rgb(23 23 33) |
surface | Cards, panels, raised or recessed surfaces | #353644 | rgb(53 54 68) |
surface-2 | Secondary surface | #20202c | rgb(32 32 44) |
foreground | Primary text | #ededf3 | rgb(237 237 243) |
muted-foreground | Secondary text, captions | #c3c3cc | rgb(195 195 204) |
primary | Candidate accent (semantic role inferred) | #5266eb | rgb(82 102 235) |
on-primary | Text on the accent | #ffffff | rgb(255 255 255) |
border | Hairlines, dividers, input borders | #70707d | rgb(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.mdQuestions
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.