Best Color Combinations for Websites

These combinations are reliable, accessible and widely used in production. For each one, I've listed the actual contrast ratio between the primary and text colors, so you can verify accessibility before you use it.

By COOLOUR Editorial Team Published Updated

1. Near-black on white — the baseline

The default for a reason. This is what most editorial, documentation and text-heavy websites use.

ElementColorContrast
Background#FFFFFF—
Text#202A2715.5:1 (AAA)
Secondary text#5C64626.8:1 (AA)
Border#E1E5E31.3:1 (decorative only)

Best for: documentation, blogs, legal, long-form content. The near-black (not pure #000000) reduces the harsh contrast some users find straining.

2. Teal on white — professional tech

This is the COOLOUR brand palette. It works because teal sits between blue (trust) and green (growth), which is why it dominates SaaS, fintech and developer tools.

ElementColorContrast
Background#FFFFFF—
Primary#267D705.4:1 (AA)
Primary hover#1E63597.2:1 (AAA)
Accent tint#DCE9E31.1:1 (background only)
Text#202A2715.5:1 (AAA)

Best for: SaaS, developer tools, professional services. The teal passes AA as a text color and AAA as a button background — a rare combination.

3. Navy on cream — heritage and editorial

A classic institutional palette. Warm cream backgrounds with navy text feel refined and stabilising.

ElementColorContrast
Background#FAF0E6—
Text#001F3F17.8:1 (AAA)
Accent#8B00008.4:1 (AAA)

Best for: law firms, universities, heritage brands, financial publications. The warm cream background is less clinical than pure white and pairs well with serif typography.

4. Charcoal on sage — wellness and interior

Warm, natural, calm. This is the palette used by most modern wellness brands.

ElementColorContrast
Background#F4F6EE—
Text#202A2714.8:1 (AAA)
Accent#7D84714.2:1 (AA Large only — use as background, not text)
Secondary text#5C64626.4:1 (AA)

Best for: wellness, natural products, spas, interior. Watch out: sage as text may fail AA — use it as a background or accent, and use darker text over it.

5. Deep purple on off-white — creative

Creative tools and modern SaaS have increasingly adopted deep purple (indigo through violet) as a primary color.

ElementColorContrast
Background#FFFFFF—
Primary#4B008211.5:1 (AAA)
Accent#8E24AA5.8:1 (AA)
Text#202A2715.5:1 (AAA)

Best for: design tools, creative SaaS, gaming. The deep indigo passes AAA as text, which gives you a lot of flexibility.

6. High-contrast dark mode

Dark mode is not just inverted light mode. The most accessible dark mode uses a very dark surface — not pure black — with off-white text.

ElementColorContrast
Background#0D0D0D—
Elevated surface#1A1A1A1.6:1 (decorative)
Primary text#F1F3F216.3:1 (AAA)
Secondary text#B8BFBC8.1:1 (AAA)
Accent#8BAF9E6.2:1 (AA)

Best for: developer tools, media apps, games. Never use pure #000000 for backgrounds — it makes the eye strain when transitioning from brighter areas.

Why these work

Three principles connect all of these:

  • Lightness carries hierarchy. Each palette uses lightness — not hue — to establish text levels. Hue is decoration; lightness is structure.
  • Hue is restrained. None of these use more than two distinct hues in the brand palette. Adding a third hue would make them harder to read.
  • Every pair passes AA or AAA. None of these combinations rely on chance. Each has been verified against WCAG 2.2 AA.

What to avoid

  • Pure red text on pure green background. Looks vibrant; makes 8% of men unable to read it.
  • Light gray text on white. The default of too many designs. Fails AA at almost any lightness below 40%.
  • Brand color as text. Many brands choose a vibrant color that looks great as a button and fails as text. Always test.
  • Six or more colors. More than five or six brand colors almost always produces a palette that feels chaotic.

Verify before you commit

Every combination above can be checked in seconds with our Contrast Checker. Use it before you ship any color you aren't sure about.