Colors
The tailwindcss.com color palette
tailwindcss.com builds its pages on #ffffff with #ffffff text and #000000 as the accent, the color of its primary buttons and links. The 4 colors below were measured from the live site.
Measured from tailwindcss.com 4 days ago.
Palette
4 colors| Colors | Role | Hex | RGB | Light / dark |
|---|---|---|---|---|
background | Page background | #ffffff | rgb(255 255 255) | #ffffff |
foreground | Primary text | #ffffff | rgb(255 255 255) | #ffffff |
primary | Candidate accent (semantic role inferred) | #000000 | rgb(0 0 0) | |
on-primary | Text on the accent | #ffffff | rgb(255 255 255) |
- Text on the page background
- 1.00:1 · below WCAG AA
- Text on the accent
- 21.00: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: #ffffff;
--color-foreground: #ffffff;
--color-primary: #000000;
--color-on-primary: #ffffff;
}
[data-theme="dark"] {
--color-background: #ffffff;
--color-foreground: #ffffff;
}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/tailwindcss.com/DESIGN.mdQuestions
What are the tailwindcss.com brand colors?
The main tailwindcss.com colors are #000000 (accent), #ffffff (background) and #ffffff (text). The full palette of 4 colors, with the role of each, is on this page as hex codes.
What is the tailwindcss.com hex code?
The accent color on tailwindcss.com is #000000; the page background is #ffffff and the main text color #ffffff. 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 tailwindcss.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.