Color Scheme Generator
Pick a base color to get six classic color harmonies, each ready to copy as a palette.
How to use the color harmony generator
- Enter a base color in the text field, or choose one with the swatch picker next to it.
- Scan the six schemes generated from it: complementary, analogous, triadic, tetradic, split-complementary and monochromatic.
- Pick the scheme that matches how many colors your design needs, from two hues (complementary) to four (tetradic).
- Press Copy Palette on that scheme to copy its hex codes.
Each scheme rotates the base color's hue on the HSL wheel and keeps its saturation and lightness, so the colors in a scheme share the same intensity. Monochromatic is the exception: it keeps the hue and varies lightness and saturation instead.
The six harmony types and when to use them
Examples below start from dodgerblue, #1e90ff = hsl(210, 100%, 56%).
- Complementary (180°): 210° and 30°, blue and orange. The strongest hue contrast. Let one color dominate and keep the other for calls to action; equal amounts of both look loud.
- Analogous (±30°): 180°, 210° and 240°. Calm and cohesive, good for illustrations and content-heavy sites. The hues are close, so build hierarchy with lightness.
- Triadic (120° and 240°): 210°, 330° and 90°. Balanced and colorful. Pick one to lead and mute the other two, or the result reads as busy.
- Tetradic or rectangle (+60°, +180°, +240°): 210°, 270°, 30° and 90°. Two complementary pairs, the most variety and the hardest to balance. Useful for four chart categories.
- Split-complementary (150° and 210°): 210°, 0° and 60°. The contrast of a complement with less tension, and the most forgiving scheme to start with.
- Monochromatic: one hue in several lightness and saturation levels. Suits minimal brands and interface surfaces, since nothing competes with content.
Applying a palette with the 60-30-10 rule
A harmony gives you hues, not proportions. The 60-30-10 rule, borrowed from interior design, supplies them: about 60% of the visible area in a dominant color, 30% in a secondary color and 10% in an accent. On screen, the 60% is usually a neutral or a very pale tint of the base, the 30% covers navigation, headers and cards, and the 10% is reserved for what should be clicked or noticed.
With dodgerblue as the base, blue-tinted neutrals fill the 60%, the blue itself carries the 30%, and its orange complement marks primary buttons and badges at 10%. Keeping the accent scarce is what makes it work; if orange appears on every card, it stops pointing anywhere. Semantic colors such as error red sit outside the ratio.
Check contrast after you pick a scheme
Harmony math looks only at hue, while readability depends on luminance. Red #ff0000 and its HSL complement cyan #00ffff are as far apart as hues get, yet the pair measures only 3.18:1, below the 4.5:1 WCAG AA minimum for body text. HSL lightness hides this: hsl(60 100% 50%) yellow and hsl(240 100% 50%) blue share L = 50% but look nothing alike in brightness.
Run every text and background pair through the contrast checker before you ship. For text, use a darker or lighter step from the tints and shades of a harmony color rather than the raw hue. The color harmonies guide covers the theory, and the color wheel page maps the hue angles.
Frequently asked questions
What are the main types of color harmony?
The standard six are complementary (180° apart), analogous (neighbors about 30° apart), triadic (three hues 120° apart), tetradic or rectangle (two complementary pairs), split-complementary (the base plus the two hues beside its complement) and monochromatic (one hue at several lightness levels).
Which color scheme works best for a website?
Complementary and split-complementary suit most interfaces: one hue carries the brand and the other marks actions. Analogous and monochromatic fit calmer, content-heavy sites, while triadic and tetradic need one dominant color and muted partners.
What is the complementary color of blue?
On the digital HSL wheel this tool uses, blue at 240° is opposite yellow at 60°. On the traditional painter's wheel, blue's complement is orange, which is why the two systems give different answers.
What is the 60-30-10 color rule?
It divides a layout into about 60% dominant color, 30% secondary color and 10% accent. The dominant share is usually a neutral, and the accent is kept for elements that should draw the eye, such as primary buttons.
Does a harmonious palette guarantee accessible contrast?
No. Harmonies are based on hue angles, while contrast depends on luminance, so two harmonious colors can still fail WCAG. Check each text and background pair with a contrast checker.