QR code colors: which ones scan and which ones quietly fail

Printing · November 14, 2026 · 3 min read · Part of QR Code Not Working? 8 Causes and Fixes

Black on white is boring. We get it. Nobody's brand guide says "make everything look like a barcode."

The good news is that QR code colors are up to you. They don't have to be black. The bad news is that the colors that look nicest are often the ones phones struggle with, and you won't find out until someone at the counter says "it's not working."

The one rule for QR code colors: dark dots, light background

A phone camera doesn't really see color when it reads a QR code. It sees light and dark. So what matters is how different your two colors are in brightness, not whether they look different to you.

Some pairs that look clearly different are almost the same brightness. Red on green is the famous one. Medium blue on medium purple. Orange on pink. To your eye they're distinct. To a camera in a dim restaurant, they blur together.

Pairs that usually work fine:

  • Navy, dark green, deep burgundy or dark brown on white or cream
  • Black on a pale tint of your brand color
  • Dark gray on white, if you want something softer than black

Pairs we'd avoid:

  • Yellow, light orange or pastel dots on white. Too faint.
  • Any mid-tone on any other mid-tone
  • Dots in a gradient that fades to light at one end

A rough way to judge it: take a photo of the code and turn it black and white in your phone's photo editor. If the dots still look clearly darker than the background, you're probably fine.

Inverted codes (light dots on dark)

White dots on a black background looks great on a dark poster. Most new iPhone and Android cameras can read it. Some older phones, and some scanner apps people still have installed, can't.

So it depends who's scanning. On a trendy bar's wall, an inverted code will probably be fine. On a printed letter to customers aged 70+, use dark on light. You're not going to hear from the people it failed for. They'll just give up.

The background around the code matters too

QR codes need a clear border around them, called the quiet zone. The official spec says four "modules" wide, which means four times the width of one little square. In practice: leave a clear margin, and don't let a busy photo or pattern run right up to the edge of the code.

If you're putting a code on top of a photo, give it its own solid light box to sit in. That box is doing real work.

Test it where it'll actually be used

Screens lie. A code that scans perfectly from your laptop at full brightness can fail on a matte printed card under yellow restaurant lighting.

  • Print one copy at the real size, on the real paper if you can.
  • Scan it with an older phone, not just the newest one in the office.
  • Try it in the lighting where it'll live: a dim table, a shop window with glare, outdoors.

If it takes more than a second or two to scan, people will assume it's broken. Bump the contrast up and try again. Low contrast is one of the usual suspects in our list of reasons why a QR code is not working.

When you design a code in our free generator, you can change the colors and see the result straight away. For the logo question, which is a related but separate topic, see our page on adding a logo to a QR code.

Quick answers

Can a QR code be any color?

Yes, as long as the dots are clearly darker than the background. Navy, dark green, burgundy or dark brown on white or cream all scan well.

Do colored QR codes scan worse than black ones?

Not if the contrast is strong. Trouble starts with light or mid-tone dots, red on green, and gradients that fade toward the background color.

Will a white QR code on a black background work?

Most new phones read inverted codes, but some older phones and scanner apps don't. Use dark on light when you don't know who will be scanning.

More on this topic: QR Code Not Working? 8 Causes and Fixes

Make a QR code

Free, no account, no watermark.

Open the free generator