Web Design Color Schemes With Real Examples and Contrast Checks

Web Design Color Schemes With Real Examples and Contrast Checks

by | Dec 5, 2026 | Visual Design | 0 comments

The color schemes that work best for websites are monochrome with one accent, analogous, complementary, dark mode and pastel, and the right one depends on what the page must do. Choose by starting from your brand color, giving it a clear role (background, text or button), and then testing every text and background pairing for contrast before you commit. The examples below show how each scheme behaves on real pages. Related reading: How to Select the Best Website Color Schemes.

A note on the hex codes. A hex code is a six-character code, such as #222222, that names one exact color on screen. The values below are the brand colors these companies are widely documented as using. They were not re-measured on the live pages for this article, and sites change their palettes. Before reusing any value, open the page, use the browser eyedropper in DevTools (the built-in inspection panel of your browser) and note the date. The contrast ratios are calculated from the hex codes shown, so they hold for those values.

How a color scheme works on a page

A website color scheme is a small color palette in which every color has a job. One group handles backgrounds, one handles text, and one handles interactive elements such as buttons and links. It covers every color on the page, including the header, the text and the hues inside photos.

The color wheel describes how colors relate to each other. Primary colors (red, yellow, blue in traditional theory) are the base. Secondary colors come from mixing two primaries, and tertiary colors come from mixing a primary with a neighboring secondary. Neighbors on the wheel are analogous, opposites are complementary, and tints, shades and tones of a single hue are monochromatic. A tint adds white, a shade adds black, and a tone adds gray.

Color theory only tells you what looks harmonious. It does not tell you whether visitors can read your text, so every scheme below is judged on both look and legibility.

color palette

Monochrome with an accent: Airbnb and Dribbble

Airbnb

Airbnb uses a white background and near-black text (about #222222). A single coral-pink accent (about #FF385C) is reserved for the main call to action (CTA), the button that asks the visitor to act. The neutrals carry the photography, and the accent says "click here".

  • What it solves: a busy page full of images still has one obvious action.
  • What to reuse: limit the accent to one action type, so it keeps its meaning.
  • Pitfall: white text on #FF385C gives roughly 3.5:1. That fails for normal text and passes only for large text and interface components.

Dribbble

Dribbble builds its look around a signature pink (about #EA4C89) on a mostly neutral layout. The neutral base lets designers’ work provide the color. The pink works well as a brand mark. As text on white it reaches roughly 3.6:1, so it suits headings and icons better than small links.

Complementary: IKEA

IKEA’s blue (about #0058A3) and yellow (about #FFDA1A) sit on opposite sides of the wheel, so each makes the other stand out. In practice the blue handles headers and navigation, while the yellow highlights promotions and key buttons.

  • What it solves: strong brand recognition and clear priority without extra colors.
  • What to reuse: give one color of the pair the dominant role and use the other sparingly.
  • Pitfall: avoid thin text where the two colors touch. Complementary colors can vibrate visually at their edges.

The pairings pass well here. White on the blue is about 7.2:1, and the blue on the yellow is about 5.2:1.

Dark mode: Spotify

Spotify’s interface uses a very dark gray background (about #121212) and white text. A bright green (about #1DB954) marks play and primary buttons. Album art supplies the rest of the color.

  • What it solves: content-heavy, image-led pages where bright artwork must stay the focus.
  • What to reuse: a dark gray background and one saturated accent. Saturation is how intense a color is, from washed-out to vivid.
  • Pitfall: white text on the green button gives only about 2.6:1 and fails. Dark text on the green reaches roughly 8:1 and passes, which is the safer choice.

White on the dark gray is roughly 18:1, and the green on the dark gray is about 7:1, so both pass. Dark mode also matters because many people choose it on their phones, as it is easier on the eyes.

an adult works at a wooden table with a color palette

Pastel and analogous: build your own

Pastels and analogous palettes (for example, blue, teal and green together) feel calm and are popular for wellness, education and lifestyle brands. Their weakness is low contrast, because pale tints are close to white. The usual fix is to keep pastels for large background areas and use a much darker color for text.

As an illustration, not a live site, take a cream background #FDF6EC with deep navy text #2B2D42. It gives about 12.6:1 and passes comfortably. Pastel accents on top of that cream stay decorative, so they never need to carry readable text.

What color says: a quick psychology guide

Color psychology studies how colors affect feelings and actions. The associations below are common tendencies, not laws, and they vary by culture and context.

  • Blue: trust and reliability, which is why it is common on finance, healthcare and tech sites.
  • Red: excitement and urgency, often used for sale banners and buttons.
  • Green: nature, growth and health, a natural fit for wellness and eco-friendly brands.
  • Black: sophistication and luxury, often seen on premium fashion sites.
  • White: simplicity and space, the base of most clean, minimal layouts.

Use these meanings to match the mood you want to evoke with your brand identity, meaning the personality your logo, tone and colors express together. If the brand already has guidelines, they come first.

Gradients, neon and other bold choices

Bold schemes work when they stay controlled. A gradient, a smooth blend from one color to another, can add depth to a hero area, as long as text on top stays readable at both ends of the blend. Neon accents on a dark base feel futuristic and energetic. Keep them to small areas such as buttons or highlights.

Purple is a useful accent in this context. It is often linked with luxury and creativity, and a small dose can lift an otherwise neutral palette.

Typography and color work together

Typography, the choice and styling of fonts, changes how a color pairing reads. Thin, light fonts need more contrast than bold ones. A color that looks fine in a large headline may fail in small body text. Test colors with the actual font size and weight you plan to use.

results at a glance

Results at a glance

The first table covers the neutral and complementary examples.

Pairing Approx. ratio Normal text (4.5:1) Large text (3:1)
Airbnb text #222222 on white 15.9:1 Pass Pass
White on Airbnb coral #FF385C 3.5:1 Fail Pass
Dribbble pink #EA4C89 on white 3.6:1 Fail Pass
White on IKEA blue #0058A3 7.2:1 Pass Pass
IKEA blue on yellow #FFDA1A 5.2:1 Pass Pass

The second table covers the dark mode and pastel examples.

Pairing Approx. ratio Normal text (4.5:1) Large text (3:1)
White on Spotify green #1DB954 2.6:1 Fail Fail
Black on Spotify green 8.1:1 Pass Pass
White on dark gray #121212 18.7:1 Pass Pass
Navy #2B2D42 on cream #FDF6EC 12.6:1 Pass Pass

The 60-30-10 rule

The 60-30-10 rule is a layout guideline borrowed from interior design, not a standard. It splits the page into proportions that keep a palette balanced.

  1. 60% dominant color: usually the background, often a neutral such as white, cream or dark gray.
  2. 30% secondary color: sections, cards, headers and the footer.
  3. 10% accent color: buttons, links and highlights that need attention.

The Airbnb and Spotify examples above roughly follow this logic, with a dominant neutral and a small accent. Treat the ratios as a starting point and adjust them to your content.

Checking contrast with WCAG

The Web Content Accessibility Guidelines (WCAG) are the international accessibility rules published by the W3C, the body that sets web standards. They define contrast as a ratio between two colors. The scale runs from 1:1 (identical colors) to 21:1 (black on white).

The success criterion for contrast (minimum) requires 4.5:1 for normal text and 3:1 for large text. WCAG also asks for 3:1 on interface components such as button borders. Large text means at least 18 point, or 14 point when bold. Read the official WCAG documentation for the exact wording.

Check the pairing, not the color alone. A color can pass on one background and fail on another, as the green button above shows. Test default, hover and disabled states, and check text placed on images separately.

Tools for building a palette

  • Color pickers read the exact hex code from an image or a screen.
  • Palette generators and color wheel tools, such as Adobe Color, Canva’s palette tools and Color Hunt’s ready-made palettes, suggest combinations from a starting color.
  • Contrast checkers test a pair of colors against the WCAG ratios.

How to choose yours

  1. Start from the brand color and decide its role: background, accent or secondary.
  2. Pick a scheme type that matches the content. Neutrals with an accent suit image-heavy pages, and complementary pairs suit promotions.
  3. Assign roles with the 60-30-10 proportions in mind.
  4. Test each text and background pair against 4.5:1 and 3:1 as above.
  5. Review the result on a phone and in bright light. Then show it to a few real users, or run an A/B test, which shows two versions of a page to different visitors and compares the results.

Pick one scheme type, write down the hex code and role for each color, and run every pairing through a contrast checker before you design a single page. Palette generators can suggest combinations, but only the contrast test tells you whether people can read them.

Nick Brown Design builds websites where color choices are tested before launch, not guessed.