How to build a brand color palette for the web
Updated:
A logo color is a starting point, not a palette. To use a brand color on a website, you need shades, partners, and rules for where it appears.
1. One brand color is not a palette
Websites need colors for backgrounds, text, borders, hover and pressed states, and messages. A single brand color covers only a small part of that. The rest of the palette should support it without competing.
2. Make shades of the brand color
Create lighter and darker steps of the brand color by changing its lightness while keeping the hue. Lighter steps work as subtle backgrounds and selected states; darker steps work for hover, pressed states, and text on light backgrounds.
3. Choose partner colors with a clear relationship
- Analogous — neighbors on the color wheel. Calm and cohesive; good for most brands.
- Complementary — the opposite hue. High energy; best kept small, for accents.
- Triadic — three evenly spaced hues. Playful; needs one clearly dominant color.
4. Use the brand color with intention
Put the brand color where you want attention: the main call-to-action, active navigation, key links. If headings, icons, borders, and buttons all use it, users can no longer tell what is clickable.
5. Plan for dark mode
Brand colors that look right on white often feel too bright or lose contrast on dark backgrounds. Prepare a slightly adjusted version for dark surfaces, and check text contrast again rather than simply inverting colors.
6. Save it as design tokens
Name colors by role (primary, primary-hover, surface, text-muted) instead of by value (blue-500). Role names survive a rebrand. TonePatch exports palettes as CSS variables, JSON, Tailwind, Bootstrap, WordPress theme.json, and shadcn/ui variables.