Skip to content
TR ToolRux
All Articles
Design 7 min read 2026-03-18

Color Theory for Web Designers — A Hands-On Guide to Better Palettes

I redesigned my personal website three times before I figured out why it always looked "off." The layout was fine. The typography was decent. The problem? My colors were fighting each other. I was picking shades I personally liked — a teal here, a coral there — without any understanding of how colors relate to one another. Once I learned the basics of color theory, everything clicked. Literally overnight, my designs started looking professional instead of amateur. Here's the crash course I wish someone had given me. You can experiment with all of this visually in our Color Palette Generator.

The Color Wheel: Where Everything Starts

Every color relationships framework comes back to the color wheel. It was first organized by Isaac Newton in 1666 (yes, the gravity guy was also into optics). The modern version arranges 12 hues in a circle based on their relationships:

CategoryColorsCharacteristics
PrimaryRed, Blue, YellowCan't be created by mixing other colors
SecondaryOrange, Green, PurpleCreated by mixing two primaries
TertiaryRed-orange, Yellow-green, Blue-violet, etc.Created by mixing a primary + adjacent secondary

Digital design uses a slightly different model — RGB for screens (additive color) and CMYK for print (subtractive color). But the relationships between hues on the wheel stay the same.

The Five Classic Color Harmonies

These are the proven combinations that designers reach for when building palettes. Each produces a different emotional feel:

HarmonyHow to PickFeelingExample Use
ComplementaryTwo colors opposite each other on the wheelHigh contrast, energetic, boldSports brands, sale banners
AnalogousThree colors next to each otherHarmonious, calm, cohesiveNature sites, wellness brands
TriadicThree colors evenly spaced (120° apart)Vibrant, balanced, playfulChildren's brands, creative apps
Split-complementaryOne color + two adjacent to its complementStrong contrast with less tensionDashboards, infographics
MonochromaticOne hue in different shades and tintsClean, minimal, sophisticatedCorporate sites, luxury brands
My go-to for most projects? Analogous or monochromatic. They're almost impossible to mess up. Complementary is powerful but tricky — get the saturation wrong and your design looks like a fast-food menu.

Understanding Hue, Saturation, and Lightness

Every color has three dimensions. Tweaking these is how you turn a single hue into a full, usable palette:

PropertyWhat It ControlsLow ValueHigh Value
HueThe base color (position on the wheel)Red (0°)Red again (360°) — it's a circle
SaturationColor intensity/vibrancyGray (desaturated)Pure, vivid color
LightnessHow bright or darkBlackWhite

A common mistake: cranking saturation to maximum. Full-saturation colors look garish on screen, especially for large areas like backgrounds. Professional palettes typically use saturation between 40–70% for primary elements and 10–30% for backgrounds.

The 60-30-10 Rule

Interior designers have used this rule for decades, and it works perfectly for UI design too. Distribute your colors like this:

60% Dominant color (backgrounds, large surfaces)
30% Secondary color (cards, sections, navigation)
10% Accent color (buttons, links, highlights)

Your dominant color is usually a neutral — white, off-white, light gray, or dark gray in dark mode. The secondary color adds structure. The accent color draws attention to the things users should click or notice. This ratio keeps designs balanced without thinking too hard about it.

Colors and Accessibility: Contrast Matters

This is one area where "it looks good to me" doesn't cut it. Roughly 8% of men and 0.5% of women have some form of color vision deficiency. Beyond that, everyone struggles with low-contrast text — especially on mobile screens in bright sunlight.

The WCAG (Web Content Accessibility Guidelines) defines minimum contrast ratios:

Content TypeMinimum Ratio (AA)Enhanced Ratio (AAA)
Normal text (under 18px)4.5:17:1
Large text (18px+ bold, 24px+ regular)3:14.5:1
UI components and graphics3:1

Check your palette's contrast with our WCAG Accessibility Checker. Never rely on color alone to communicate meaning — always pair color with text labels, icons, or patterns.

Color Psychology: What Colors Communicate

Colors trigger emotional associations (though these vary by culture). Here's a general guide for Western audiences:

ColorCommon AssociationsUsed By
BlueTrust, stability, calmBanks, tech companies, healthcare
RedUrgency, energy, passionSales, food industry, entertainment
GreenGrowth, health, natureFinance, eco brands, wellness
YellowOptimism, warmth, attentionWarnings, children's brands, retail
PurpleLuxury, creativity, wisdomBeauty, premium products, education
OrangeFriendly, confident, adventurousSaaS, e-commerce CTAs, sports
BlackElegance, power, sophisticationFashion, luxury, tech

Building a Palette From Scratch

Here's the process I follow when starting a new design project:

  1. Pick one hero color. This is your brand color — the one people will associate with your product. Start with a hue you like, then adjust saturation and lightness.
  2. Choose a harmony type. For most web projects, analogous or monochromatic is safest. Use our Color Palette Generator to explore options visually.
  3. Generate 5–7 shades. For each color, create a scale from very light (for backgrounds) to very dark (for text). Tools like our Color Converter help translate between HSL, HEX, and RGB.
  4. Pick your neutrals. You need a gray scale — 5 to 7 steps from near-white to near-black. Slightly tint your grays toward your hero color for cohesion.
  5. Test contrast. Run your text/background combos through the WCAG Checker. Fix anything below 4.5:1.
  6. Apply 60-30-10. Assign roles: dominant, secondary, accent. Resist the urge to add more colors — constraint breeds good design.

Helpful Design Tools

TaskTool
Generate color harmoniesColor Palette Generator
Convert between HEX, RGB, HSLColor Converter
Check WCAG contrastWCAG Checker
Create CSS gradientsCSS Gradient Generator
Generate box shadows with colorBox Shadow Generator
Pick colors from screenColor Picker

Final Advice

Color theory sounds academic, but it comes down to a few practical instincts: pick a starting color, use the wheel to find companions, keep contrast high, and don't use too many colors. If you build those habits, your designs will look intentional instead of random — and that's 90% of the battle. Start experimenting with the Color Palette Generator and see how different harmonies transform the same base color.

Try it yourself — free, instant, no signup

Open Color Palette Generator