Why a QR code still works with a logo on it
Every QR code stores some of its data twice over, in a form that can rebuild missing pieces. This is called error correction. It's there so a code still reads when it's scratched, dirty or partly torn.
There are four levels. Wikipedia lists them as L, M, Q and H, which can restore about 7%, 15%, 25% and 30% of the data. Denso Wave, the company that invented the QR code, says on its error correction page that "Level M (15%) is most frequently selected."
A logo is planned damage. As Wikipedia puts it, "intentionally covering the center with a logo consumes a large portion of the code's error-correction budget upfront." So a code with a logo should use level H, the highest. Then there's still something left over for a sticky table or a scratched sticker.
How big can the logo be?
Level H can rebuild about 30% of the data. That doesn't mean you can cover 30% of the picture.
- The three big squares in the corners help the phone find the code. Never cover them or put the logo near them.
- The rest of the budget is for real life: a coffee ring, glare from a lamp, a crease in a laminated card.
- A bigger logo leaves less room for those.
A rule of thumb that leaves plenty of room: keep the logo no wider than about a third of the code. That covers roughly a tenth of its area. Put it dead center, on a plain white or light square, so no dots run into it. A simple mark, like an initial or an icon, reads better at that size than a full logo with small words.
Which colors scan, and which don't?
A phone reads a QR code by the difference between dark and light. Denso Wave's FAQ says "The reading of QR Codes is based on the difference between the amount of light reflected by the black and white areas."
Its advice on color is plain: "Basically, please print out your QR Codes with black on a white background." It adds that "the deepness of the color also affects the readability." That answer is written for scanners that read with red light, which can't see a red code on white at all. Phone cameras see color, but the same idea holds. The code has to be clearly darker than its background.
| Design choice | Usually scans? | Why |
|---|---|---|
| Black on white | Yes | The most contrast you can get |
| Dark navy, green, brown or burgundy on white or cream | Usually | Dark enough to stand out from the paper |
| Mid gray, orange or bright red on white | Often fails | Too close to the paper in dim light |
| Dark code on a pale tint of your brand color | Usually | Fine if the tint is very light |
| White code on a dark background | Unreliable | Some camera apps read it, many don't |
| Code printed over a photo or pattern | Often fails | The background breaks up the dots |
That table is a rule of thumb, not a test result. Your own phones and lighting decide.
Don't invert the colors. A white code on a black card looks smart and fits a dark brand, but QR codes are designed as dark squares on a light background. A design guide from QR Code Generator puts it simply: "Avoid inverted codes, where light modules sit on a dark background."
If your menu card is black, print a white square on it and put a dark code inside the square. You keep the look and the guest's phone gets what it expects.
Keep a clear border around the code
The blank space around a QR code is called the quiet zone. It tells the phone where the code stops. Denso Wave's guide to code size says "QR Code requires a four-module wide margin at all sides of a symbol." A module is one of the small squares in the code.
In practice, leave a white border at least as wide as four of those squares on every side. Keep table numbers, borders, your logo and "Scan for the menu" text outside it. Our guide to QR code size covers how big to print the whole thing.
How to test brand colors before you print
Most scan tests happen at the counter, under bright light, on the owner's new phone. Guests scan at a candlelit table on a phone that's five years old. Test for that.
- Print one copy at the real size, on the real paper or sticker. A screen glows, paper doesn't.
- Turn the lights down to dinner level, or take it to the darkest table.
- Use the oldest phones you can find, at least one iPhone and one Android. Ask staff to try theirs.
- Use the normal camera app, not a scanner app. That's what guests use.
- Scan from where a guest sits, at a slight angle, about 8 to 12 inches away.
- Time it. If a phone takes more than a couple of seconds, it isn't good enough.
- Try it laminated if you'll laminate it. Glare from a ceiling light can hide part of the code.
If a phone struggles, fix one thing at a time: darken the color first, then shrink the logo, then widen the border, then print bigger. If a printed code stops working later, our QR code menu troubleshooting guide goes through the usual causes.