Visitors form an impression of a website within seconds, and colour is a big part of it. The right palette makes a small business look trustworthy and established; a random mix of bright colours makes even great products look amateur. If you are building or refreshing a site, here is how to choose website colors with a simple, repeatable method – no design degree required.
Start with your brand and audience
Ask three questions:
- What should people feel? Calm, energetic, luxurious, friendly, trustworthy?
- Who is the audience? A children's tutoring service and a law firm need very different palettes.
- What do competitors use? You may want to fit in with your industry – or stand out from it.
A quick guide to colour associations
Colour meanings vary by culture, but common associations in web design are:
- Blue – trust, calm, professionalism (banks, tech, healthcare)
- Green – growth, health, money, nature
- Red – energy, urgency, excitement (food, sales)
- Orange – friendly, creative, affordable
- Purple – luxury, creativity
- Black – premium, elegant
- Yellow – optimism; best as an accent because it is hard to read on white
Build the palette with the 60-30-10 rule
Interior designers use the 60-30-10 rule, and it works perfectly on websites:
- 60% – neutral background: white, off-white or a very light grey (or a dark tone for dark themes)
- 30% – secondary colour: headers, sections, cards and text
- 10% – accent colour: buttons, links and important highlights
A focused color palette of one main colour, one accent and a couple of neutrals is plenty for most small business sites.
Get the exact hex codes
Websites use hex codes such as #1E40AF. Write down the exact codes for each colour so your site, social posts and printed materials match. Read how to convert decimal to hexadecimal to understand what the codes mean.
- Pick and fine-tune colours with the Color Picker, which converts between HEX, RGB and HSL.
- Pull colours from your logo or a photo you love with the Image Color Picker – see how to find the color code from an image.
- Stuck for ideas? Generate combinations with the Random Color Generator.
Check readability and contrast
Beautiful colours are useless if people cannot read the text. Accessibility guidelines (WCAG) recommend a contrast ratio of at least:
- 4.5:1 for normal body text
- 3:1 for large headings and buttons
Dark grey or near-black text on a white background is the safest choice for paragraphs. Avoid light grey text, yellow on white and red on green, which many colour-blind visitors cannot distinguish.
Use colour consistently
- Buttons that do the same thing should always be the same colour.
- Use your accent colour for the main call to action ("Order now", "Get a quote") so it stands out.
- Use red for errors and green for success messages, as people expect.
Test before you commit
Apply the palette to a real page – a homepage mockup or a single landing page – and view it on a phone in bright daylight. Then ask a few people from your target audience for their first impression.
Frequently asked questions
How many colours should a website use? Usually two or three main colours plus neutrals.
Should my website match my logo? Yes. Take the main colours from your logo for consistency.
Is dark mode worth supporting? Many visitors prefer it. If you add it, check contrast in both themes.
Summary
Now you know how to choose website colors: start with your brand's personality, build a simple palette with the 60-30-10 rule, record exact hex codes and check text contrast. Keep colours consistent and test on real devices. Find and convert your perfect shades with the free Color Picker.