Skip to content

How to Choose a Website Color Palette (With Examples)

How to choose a website color palette — colour roles, the 60-30-10 rule, contrast and accessibility, colour psychology, tools and example palettes by industry.
How to Choose a Website Color Palette (With Examples) — WebDesigningPune guide
Quick answer

A good website color palette usually has one primary brand colour, one accent colour for calls to action, a set of neutrals (white, greys and a dark text colour) and status colours for success, warning and error messages. Use the 60-30-10 rule to balance them, and check that text meets WCAG contrast of at least 4.5:1.

Colour is one of the first things visitors notice about a website, often before they read a single word. The right palette makes a brand feel trustworthy, calm, energetic or premium. The wrong one — too many competing colours, low contrast or clashing tones — makes even good content feel harder to read.

You do not need to be a designer to choose a good palette. A simple structure, a contrast checker and a bit of restraint go a long way.

The roles in a website color palette

Role Used for Example
Primary Brand identity, links, headers Blue #1D5FB4
Accent Main buttons and highlights Orange #C2410C
Dark neutral Headings and body text Slate #0F172A
Light neutrals Backgrounds, borders, cards #F8FAFC, #E2E8F0
Status Success, warning, error Green, amber, red
Website color palette: colour palette swatches showing primary, accent, neutral and status colours with hex codes

The 60-30-10 rule

Use a dominant neutral or background colour for about 60% of the design, a secondary colour for about 30% and an accent for about 10%. This keeps pages calm while making buttons stand out.

How to choose your colours

  1. Start with your brandUse existing logo colours or define the feeling you want.
  2. Pick one primary colourChoose a shade that works for links and headers on white.
  3. Add a contrasting accentOften a complementary colour reserved for calls to action.
  4. Build neutralsCreate a range of greys from near-white to near-black.
  5. Create tints and shadesLighter and darker versions for hover states and backgrounds.
  6. Test contrastCheck every text and background pair.

Colour psychology (use with care)

  • Blue: trust and calm — common for finance, tech and healthcare.
  • Green: growth, health and sustainability.
  • Orange: energy and friendliness — good for accents.
  • Red: urgency and passion — use sparingly.
  • Black: luxury and sophistication.
Annotated web page mockup for “Colour psychology (use with care)”

Colour associations vary by culture and context, so test with your audience rather than relying on rules alone.

Important: Never rely on colour alone to convey meaning. Add icons or text to error messages and links so people with colour vision deficiency can understand them.

Free colour palette tools

  • Coolors — generate and lock palettes.
  • Adobe Color — colour wheel harmonies and accessibility checks.
  • WebAIM Contrast Checker — test text contrast.
  • Realtime Colors — preview palettes on a sample website.

A worked example

Invented example, for illustration only.

A physiotherapy clinic wants a site that feels calm, clean and professional. A simple palette might be:

Role Colour Used for
Primary Soft teal Header, links, icons
Accent Warm coral “Book now” buttons only
Dark neutral Deep slate Headings and body text
Light neutrals Off-white and pale grey Backgrounds and cards

Because coral appears only on booking buttons, visitors instantly see where to click.

Test your palette before committing

  • Check text contrast with a contrast checker.
  • View the palette on a phone in sunlight.
  • Test with a colour-blindness simulator.
  • Try the palette on a real page layout, not just swatches.
  • Check dark mode if your site supports it.

Pair your palette with the right website fonts and follow website design best practices.

Frequently asked questions

How many colours should a website have?

Usually one primary, one accent, a range of neutrals and a few status colours. Too many brand colours make a design look busy.

What is the best colour for a website?

There is no single best colour. Choose colours that fit your brand and audience, with strong contrast for readability.

What contrast ratio does WCAG require?

WCAG AA requires 4.5:1 for normal text and 3:1 for large text and interface components.

Should my website colours match my logo?

Generally yes. Using logo colours keeps your brand consistent, but adjust shades for readability on screen.

Can I change my website colours later?

Yes. If your theme uses global colour settings, updating the palette can change the whole site quickly. Test contrast after any change.

Should every page use the same colours?

Yes, for consistency. You can use accent colours to highlight sections, but keep the core palette the same.

What colours work best for call-to-action buttons?

A colour that contrasts with the rest of the page and is used only for primary actions, so it stands out.


Further reading: the W3C’s accessibility fundamentals.

First published November 17, 2026 · Last updated November 26, 2026