Skip to content

Find Complementary Colors From HEX Code

Paste any color code and its opposite on the color wheel shows up right away, ready to copy.

HEX, RGB, HSL, or a name like teal.

Your color
Complement
Color wheel

Text Contrast for This Pair

Checked with the WCAG contrast formula.

Aa Complement on your color
Aa Your color on the complement

3.95:1

Large text only

Use it for big headings and icons, not body text.

On your color: white text, 8.99:1

On the complement: black text, 9.23:1

More Color Schemes

Click a swatch to copy it, or Use to start from that color.

Split Complementary

150° and 210° from yours

#2C36B9 Yours
#B9692C
#7CB92C

Analogous

30° on each side of yours

#2C7DB9
#2C36B9 Yours
#682CB9

Triadic

Three hues 120° apart

#2C36B9 Yours
#B92C36
#36B92C

Square

Four hues 90° apart

#2C36B9 Yours
#B92C7D
#B9AF2C
#2CB969

Tints and Shades

Same hue, lighter and darker

#AFB4EC
#666EDB
#2C36B9 Yours
#1F2684
#13174F

How the Opposite Color Is Worked Out

Every color has a hue, which is its angle on a 360 degree color circle. The opposite color sits 180 degrees away, straight across the circle, with the same saturation and lightness.

You can work it out by hand from a HEX code. Add the highest and lowest of the red, green, and blue values, then subtract each value from that total. Here it is for #2C36B9, where 185 + 44 = 229:

Step Red Green Blue
#2C36B9 as numbers 44 54 185
229 minus each 185 175 44
Back to HEX B9 AF 2C

That gives #B9AF2C. The tool uses this same math, so its answer always matches what you get by hand.

Screen Colors vs Paint Colors

Screens build every color from tiny red, green, and blue lights, so blue sits across from yellow and red sits across from cyan. Painters use the older red, yellow, and blue wheel, where blue pairs with orange and red pairs with green.

Pick Screen (RGB) for websites, apps, and anything people see on a display. Switch to Paint (RYB) when you are mixing paint, planning a craft, or want the pairs taught in art class.

Tips for Designing With Opposites

Opposite colors make each other look more intense when they sit side by side. That is why they work so well for buttons, sale badges, and links that need to pop.

Let one color fill most of the space and save its opposite for small accents. Two strong opposites in equal amounts tend to fight for attention.

A big jump in hue does not always mean readable text. WCAG asks for a ratio of at least 4.5:1 for normal text and 3:1 for large text, so check the contrast panel before you set words in either color.

When to Use Each Scheme

  • Split complementary: strong contrast that is easier to balance than a straight opposite.
  • Analogous: calm, natural sets for backgrounds and illustrations.
  • Triadic: bright and playful. Let one color lead and use the other two as accents.
  • Square: four clearly different hues for charts, tags, and categories.
  • Tints and shades: borders, hover states, and backgrounds that stay on brand.

You can find more free calculators in our full tool collection.

Share this tool: