Back to All Blog Posts
QR Code Guides

Can You Add a Logo or Colours to a QR Code Without Breaking It?

By 4 min read
A blue QR code with a small logo in the centre
Short answer

Yes. QR codes have built-in error correction, so a logo can cover part of the code and it still scans. Set error correction to High, keep the logo to about 20 percent of the code’s area or less, and place it in the centre. For colours, use a dark code on a light background with strong contrast, keep the three corner squares clear, and leave a blank margin. Then test on several phones before printing.

Branded QR codes get scanned more than plain ones, partly because they look intentional. A code in your colours with your logo in the middle tells people it belongs to you. The risk is going one step too far: a logo that eats too much of the code, or a colour scheme the camera can’t separate.

How a QR code survives a logo

QR codes store their data with Reed-Solomon error correction, the same family of techniques used on CDs. Part of the code is redundant, so missing or damaged pieces can be rebuilt. You choose how much redundancy:

LevelCan recover roughlyUse for
L (Low)7%Clean screens, largest data
M (Medium)15%Everyday printed codes without a logo
Q (Quartile)25%Codes that may get scuffed or dirty
H (High)30%Codes with a logo

A logo works by deliberately "damaging" the middle of the code and relying on that correction. Higher correction makes the code denser (more, smaller squares), so a High-level code needs to be printed a little larger.

How big can the logo be?

  • About 20 percent of the area or less is a safe target with High correction. A logo about 40 percent of the code’s width covers roughly 16 percent of its area.
  • Beyond 25 to 30 percent, codes start failing on some phones, even if your own phone reads them.
  • Centre only. Never cover the three large corner squares or the small alignment square near the bottom right.
  • Give the logo a small white or light border so its edge doesn’t blend into the modules.
  • Simple, bold logos work better than detailed ones at small sizes.

Choosing colours that scan

CombinationResult
Dark blue, green, purple or maroon on whiteScans well
Black on light yellow, cream or pale greyScans well
Yellow, orange or light grey on whiteOften fails: too little contrast
Red on black, or two mid-tonesUnreliable
Light code on dark background (inverted)Some scanners can’t read it

A good rule: if you print the code in greyscale and it still looks clearly dark-on-light, it’ll scan. Gradients are fine as long as the lightest part of the code is still much darker than the background.

Rounded dots and custom corners

Rounded modules and styled corner "eyes" usually scan fine, because scanners look at the centre of each module. Very small dots with big gaps, or corner shapes that no longer look like squares-in-squares, are where it breaks. If you go for an unusual style, test it harder.

Don’t forget the quiet zone

The blank border around a QR code is part of the code. Scanners use it to find where the code starts. Keep at least four modules of empty space on every side, and don’t let a coloured background, text or a photo run up to the edge.

A test routine before printing

  1. Scan from the screen

    with at least two phones, one Android and one iPhone, using the built-in camera apps.

  2. Print one copy at the real size

    on the real paper or material. Glossy and textured surfaces change things.

  3. Scan it at the real distance and light,

    for example from across a table, or from a metre away for a poster.

  4. Check where it goes.

    The link should open the right page, quickly, without a login.

The QR Code Generator lets you set colours, gradients, dot and corner styles, a logo and the error correction level, and download the result as SVG or PDF for print. If a code still won’t scan, this troubleshooting guide goes through the usual causes.

Frequently asked questions

Can I put a logo in a QR code?

Yes. Use High error correction, keep the logo in the centre and under about 20 percent of the code’s area, and test before printing.

What colours can a QR code be?

Any dark colour on a light background with strong contrast. Avoid light colours like yellow or orange for the code itself, and be careful with inverted codes.

Why does my coloured QR code not scan?

Usually too little contrast, an inverted colour scheme, a missing blank margin, or a logo that covers too much of the code.

What error correction level should I use?

Medium for plain printed codes, High when you add a logo or the code may get damaged.

Do rounded dots affect scanning?

Usually not. Rounded modules scan fine as long as the corner squares are still recognisable and the dots are not too small.

Design a branded QR code

Colours, gradients, dot styles, logo upload and error correction. Free, no watermark.

Open QR Code Generator
Akhtar Ali

Founder of CleanPDF. I build the site’s browser-based PDF, image, QR code and calculator tools, and I write these guides around the questions people send in while using them.