How to design a QR code that always scans
· 6 min read
Custom colours and logos make QR codes more attractive, but every change takes something away from what the scanner needs. These rules keep a designed code reliable.
1. Dark on light, with strong contrast
Scanners look for dark modules on a light background. Keep the pattern clearly darker than the background; a contrast ratio of at least 3:1 is a sensible minimum, and more is better.
Light-on-dark (inverted) codes look striking but many phone cameras can't read them. Gradients are fine as long as every part of the gradient stays dark enough.
2. Keep the corner squares recognisable
The three large squares in the corners tell the scanner where the code is and how it's rotated. You can round them or colour them, but keep them solid, square-ish and clearly separated from the rest of the pattern.
3. Logos: small, centred, with error correction H
QR codes contain error correction that can rebuild missing parts. The four levels recover roughly 7% (L), 15% (M), 25% (Q) and 30% (H) of the code. A logo covers part of the pattern, so use level H and keep the logo at or below about a quarter of the code width.
Clear the modules behind the logo rather than placing it on top of them, and leave a little space around it.
4. Leave the quiet zone empty
Keep an empty margin around the code: ideally four modules. Frames are fine as long as there is space between the frame and the pattern.
5. Encode less
Shorter content means fewer, larger modules, which tolerate more styling, smaller print and worse light. Remove tracking parameters you don't need and avoid long vCards on small cards.
6. Print and test like a user
- Use vector files (SVG or PDF) for print so edges stay sharp.
- Avoid glossy laminate and curved surfaces that reflect light across the code.
- Test the printed proof with an iPhone and an Android phone, at the real distance and in the real lighting.
Let the editor check it for you
Our editor reads your exact design back with a real QR decoder after every change and shows Scans, Risky or Won't scan, together with contrast and logo-size warnings. It's not a substitute for testing the print, but it catches most problems before you get there.
Make a QR code that passes these checks
Free, no sign-up. Every design is read back with a real decoder.
Open the generator