Color Theory Basics: Hue, Harmony and the 60-30-10 Rule
Color theory explained in plain terms: hue, saturation and value, warm vs cool colors, the main harmony rules and the 60-30-10 rule, with HEX examples.
Updated
Color theory is a set of practical rules for describing colors and predicting which ones work together. It rests on three ideas: every color can be described by its hue, saturation and value; hues are arranged on a wheel; and pleasing combinations, called harmonies, come from simple geometric relationships on that wheel. This guide covers those basics with HEX examples you can test.
Hue, saturation and value
Any color can be pinned down with three properties.
- Hue is the color family: red, orange, yellow, green, blue, purple. It is measured as an angle around the color wheel, from 0 to 360 degrees. On the screen wheel red is at 0, green at 120 and blue at 240.
- Saturation is how pure or vivid the color is. At full saturation the hue is intense; at zero it is a grey.
- Value is how light or dark the color is. Artists call it value; software calls it lightness or brightness depending on the model.
CSS uses the HSL model, which stands for hue, saturation and lightness. Take the blue #2563EB. In HSL it is hsl(221, 83%, 53%): a hue of 221 degrees, strong saturation and a medium lightness. Drop the saturation to 20 percent and it turns into a slate grey-blue. Raise the lightness to 90 percent and it becomes the pale #D0DEFB.
Design software often uses HSV (hue, saturation, value) instead. The hue is the same number in both models, but the third value behaves differently: in HSV, 100 percent value gives the brightest version of the hue, while in HSL, 100 percent lightness is always white. Keep that in mind when copying numbers between tools.
To see the HSL values of any color, paste its HEX code into the Color Converter. The guide to HEX, RGB and HSL color codes covers the notations in depth.
Tints, shades and tones
Three words describe what happens when you change value and saturation while keeping the hue.
| Term | How it is made | Effect |
|---|---|---|
| Tint | Add white | Lighter, softer, more pastel |
| Shade | Add black | Darker, heavier |
| Tone | Add grey | Less saturated, more muted |
A full interface usually needs one hue in many steps: a pale tint for backgrounds, a mid value for buttons, a dark shade for text. For #2563EB, a scale from light to dark runs #D0DEFB, #A2BCF6, #739BF2, #447AEE, #1659E9, #1147BB, #0D358C, #09235D, #04122F. That is one hue and one saturation with lightness stepping from 90 down to 10 percent. A scheme built only from steps like these is called monochromatic.
Warm and cool colors
The wheel is conventionally split in two. Reds, oranges and yellows are warm. Greens, blues and purples are cool. Yellow-green and red-purple sit on the border and can go either way depending on what surrounds them.
The labels describe an effect, not a measurement. Warm colors tend to feel energetic and seem to advance toward the viewer. Cool colors feel calmer and seem to recede. Designers use this to steer attention: a warm call-to-action button on a cool page stands out without needing to be large.
Temperature is also relative within a single hue. Scarlet, #FF2400, is a warm red because it leans toward orange. Crimson, #DC143C, is a cool red because it leans toward blue. Greys work the same way: a grey with a trace of blue reads as cool, one with a trace of yellow reads as warm.
The harmony rules
A harmony is a recipe for choosing hues by their positions on the wheel. Each has its own character.
| Harmony | Hues used | Character |
|---|---|---|
| Monochromatic | One hue, several lightness steps | Calm, unified, low risk |
| Analogous | Neighbors, about 20 to 40 degrees apart | Natural and cohesive |
| Complementary | Two hues 180 degrees apart | Maximum contrast |
| Split-complementary | A hue plus the two beside its opposite | Strong contrast, less tension |
| Triadic | Three hues 120 degrees apart | Lively and balanced |
| Tetradic | Four hues in two opposite pairs | Rich, hardest to balance |
Starting from #2563EB, the complementary hue is the amber #EBAC24, and the triadic partners are the pink-red #EB2463 and the green #63EB24. Each rule has its own guide: complementary colors, analogous colors and triadic colors. The wheel itself, including why painters and screens use different ones, is covered in the color wheel explained.
The Color Palette Generator applies four of these rules for you. Enter a HEX code and switch between Complementary, Analogous, Triadic and Split-Comp to see each set, with a tint and shade scale of the base color underneath.
The 60-30-10 rule
A harmony tells you which colors to use. The 60-30-10 rule tells you how much of each. It comes from interior design and translates well to screens:
- About 60 percent is the dominant color. In a room that is the walls; on a web page it is the background and large surfaces, usually a neutral or a very light tint.
- About 30 percent is the secondary color: furniture in a room, or cards, navigation and headings on a page.
- About 10 percent is the accent: cushions and artwork, or buttons, links and highlights.
The percentages are a guide, not a measurement. The point is unequal proportions. Three colors used in equal amounts compete with each other, while one dominant color with a small accent gives the eye a clear order to follow.
A worked example: a near-white #F8FAFC background for the 60, a dark slate #1E293B for text and navigation as the 30, and the blue #2563EB for buttons and links as the 10. If you want a second accent for warnings or highlights, the complementary amber #EBAC24 is a natural choice because it is as far from the blue as the wheel allows.
Contrast comes first
Harmony rules pick hues, but readability depends on the difference in lightness between text and its background. Two colors can be perfectly complementary and still be unreadable together if their lightness is similar. White text on #2563EB has a contrast ratio of 5.17 to 1, which passes the WCAG AA minimum of 4.5 to 1 for body text. White on the amber #EBAC24 is only 2.01 to 1, so that color needs dark text.
Check every text and background pair with the Contrast Checker before committing to a palette. The thresholds are explained in the WCAG color contrast guide.
A short process for picking colors
- Choose one base color that fits the subject or brand.
- Pick a harmony: analogous for calm, complementary for punch, triadic for playful.
- Build a tint and shade scale of the base for backgrounds, borders and text.
- Assign roles with 60-30-10, using a neutral for the 60.
- Test contrast for every text pair and adjust lightness, not hue, to fix failures.
Try it
Enter a base color in the Color Palette Generator, compare the four harmony modes, and copy the result as CSS variables, a Tailwind config snippet or a plain HEX list. More color utilities are in the colors category.