How to Pick Colors for a Website
Start with one main color, add a secondary and an accent using the 60-30-10 rule, and check every text color against its background — normal text needs a contrast ratio of at least 4.5:1 to pass WCAG AA.
Picking website colors is a design decision, not a guessing game. Here is a practical method that works for almost any site.
1. Start with one color, not five
Pick the single most important color first — usually your brand color, or the feeling you want the site to have (trustworthy, calm, energetic, luxurious). Everything else is built around it. If you have a logo, start from its main color: paste it into the color picker and use the harmonies panel to find partners.
2. Use the 60-30-10 rule
Divide the page: 60% one dominant color (usually a light neutral background), 30% a secondary color (sections, cards, headers), and 10% an accent (buttons, links, calls to action). The accent is the only color that needs to be loud. If everything is loud, nothing stands out.
3. Let contrast decide your text colors
Body text must be readable first and pretty second. Dark gray or near-black text on a white or very light background is the default for a reason — it scores 15:1 or better. Check every text/background pair in the contrast checker: normal text needs 4.5:1 for WCAG AA. If a color fails, darken the text or lighten the background until it passes; the checker's “Suggest a fix” button finds the nearest passing shade.
4. Test the palette, don't just look at it
Swatches lie. A palette that looks good as five squares can fail as a real page — the accent may vanish on the background, or two colors may be indistinguishable to a color-blind visitor. Paste the palette into the palette generator to see it on a mock page, and run it through the color blind simulator. If two colors look the same in the simulation, change one of them.
5. Common starting points
| Feeling | Main colors | Accent |
|---|---|---|
| Trustworthy / corporate | Navy #000080, white, light gray | Gold #FFD700 or sky blue |
| Calm / health | Teal #008080, soft green, white | Coral #FF7F50 |
| Energetic / food | Warm white, cream | Orange #FFA500 or red |
| Premium / luxury | Black, charcoal, cream | Gold #FFD700 |
| Playful / creative | White, light gray | Magenta #FF00FF or violet |
6. Keep it consistent
Write your palette down as CSS variables — the palette generator exports them for you — and use only those variables across the site. A site with five defined colors looks designed; a site with twenty slightly different blues looks accidental.
Frequently asked questions
How many colors should a website use?
Three to five is a good rule: one main color, one or two supporting colors, one accent for buttons and links, and a neutral for text and backgrounds. More than five usually looks messy.
What is the 60-30-10 rule?
A classic design rule: 60% of the page is the main color (usually a neutral or light background), 30% is a secondary color, and 10% is the accent color that draws the eye — buttons, links, and highlights.
What colors work best for a business website?
Blue is the safest choice for trust and professionalism; navy and dark blue are standard for finance, law, and technology. Green suits health and environmental brands; warm colors like orange suit food and retail. The right answer depends on your audience, not on a fixed list.
How do I check if my website colors are accessible?
Check every text color against its background in the contrast checker: normal text needs at least 4.5:1 for WCAG AA. Also check your palette in the color blind simulator so it works for color-blind visitors.
Should my website colors match my logo?
Yes — start from your logo or brand color, build a palette around it with the palette generator, and use the brand color as the accent rather than painting everything in it.
Related tools
Palette Generator · Color Picker · Contrast Checker · Color Blind Simulator · Complementary Colors