Complementary Color Finder
The complementary color sits directly opposite yours on the color wheel. Enter any color to get its exact complement plus the split-complementary, analogous, triadic, and tetradic sets — each with hex codes and the contrast ratio against your original.
Common complementary colors (screen / RGB wheel)
Blue #0000FF ↔ #FFFF00
- Red #FF0000 ↔ #00FFFF
- Orange #FFA500 ↔ #0059FF
- Yellow #FFFF00 ↔ #0000FF
- Green #008000 ↔ #80007F
- Purple #800080 ↔ #008000
- Pink #FFC0CB ↔ #C2FFF5
The complementary color of #3B82F6 is #F6AF3C
#3B82F6 has a hue of 217°, so its complement sits at 37° with the same 91% saturation and 60% lightness. Contrast between the pair is 1.94:1 — not enough contrast for text.
Every harmony from #3B82F6
Complementary
The hue directly opposite — 180° away. Maximum hue contrast, best used as an accent against a dominant base.
Split-complementary
The two hues either side of the complement, at 150° and 210°. Keeps most of the contrast with less tension.
Analogous
Neighbouring hues, ±30°. Calm and cohesive — good for backgrounds and illustration.
Triadic
Three hues evenly spaced at 120°. Vivid and balanced, and a solid starting point for chart series.
Copy every harmony as CSS
:root {
--base: #3B82F6;
--complementary: #F6AF3C;
--split-complementary-1: #F6523C;
--split-complementary-2: #E0F63C;
--analogous-1: #3CE0F6;
--analogous-2: #523CF6;
--triadic-1: #F63C83;
--triadic-2: #83F63C;
--tetradic-1: #F63CE0;
--tetradic-2: #F6AF3C;
--tetradic-3: #3CF652;
}Complementary Colors for Common Colors
Calculated on the RGB color wheel used by screens and CSS, rotating hue by 180° while holding saturation and lightness. On the traditional RYB paint wheel some of these differ — red's complement is green in paint but cyan on a screen.
How to Use the Complementary Color Finder
Enter a hex code, rgb() value, or CSS color name to find its opposite color. The tool calculates the exact opposite hue plus the analogous, triadic, split-complementary, and tetradic sets from the same base, and shows the contrast ratio between each result and the color you entered. Copy any single value or export the whole harmony as CSS custom properties.
How the Complement Is Calculated
Your color is converted from RGB to HSL, the hue is rotated by 180 degrees, and saturation and lightness are held constant before converting back. That keeps the complement at the same intensity and brightness as the original, which is what makes the pair feel balanced. Because the rotation happens in HSL rather than a perceptual space, very light and very dark colors produce complements that are mathematically correct but visually subtle.
When to Use Each Harmony
Complementary pairs create the strongest contrast and work best when one color dominates and the other is reserved for accents — a blue interface with orange calls to action, for example. Analogous sets sit next to each other on the wheel and feel calm and cohesive, which suits backgrounds and illustration. Triadic sets are vivid and balanced, and are a good starting point for chart series that need to stay distinguishable.
Frequently Asked Questions about Complementary Color Finder
The complementary color sits directly opposite a color on the color wheel — 180 degrees away in hue, with saturation and lightness held constant. Red and cyan, blue and orange, and yellow and violet are complementary pairs on the RGB wheel used by screens.
There are two different wheels. Screens use the RGB (additive) wheel, where the complement of red is cyan. Traditional painting uses the RYB (subtractive) wheel, where the complement of red is green. Neither is wrong — they describe different ways of producing color. This tool uses the RGB wheel because that is what CSS, design tools, and displays actually use.
Usually not. Complementary pairs are chosen for maximum hue separation, which says nothing about lightness — and lightness is what determines readability. A complementary pair can easily have a contrast ratio below 2:1. Check any pairing you plan to put text on, which is why this page shows the ratio for every result.
Instead of the exact opposite, a split-complementary scheme uses the two colors either side of it, typically 150 and 210 degrees from the base. It keeps most of the contrast of a complementary pair while feeling less tense, which makes it easier to use across a full interface.
Keep the color moving
Useful next steps
Your latest color stays in the local workspace when the next tool uses it.