getsharesquare

Guide · 4 min read

Can you put a logo on a QR code? Colors and logos that scan

Short answer

Yes, a QR code can carry a small logo and brand colors and still scan, as long as the logo stays small and away from the three corner squares, the error correction level is high, and the dark modules contrast strongly with a lighter background.

Key takeaways

  • A logo works because QR error correction can rebuild a covered area; at level H the code can lose roughly 30% of its data and still be read.
  • Keep the logo small and centered, and never cover the three large corner squares.
  • Color is fine if contrast is strong: dark modules on a light background.
  • Inverted codes (light on dark) fail on some scanners, so test them on several phones or avoid them.
  • Always scan a printed proof at real size before a print run.

A plain black-and-white QR code works everywhere, but it can look out of place on a carefully designed menu or package. Adding a logo and brand colors is common and usually fine. It does use up some of the code's safety margin, so a few rules decide whether a designed code still scans in the real world.

Why can a QR code have a logo in the middle at all?

QR codes carry extra recovery data, so a scanner can rebuild a small covered area, and a logo uses that capacity on purpose.

Every QR code is made with an error correction level: L, M, Q or H. At level H, a code can recover roughly 30% of its data if part of the pattern is missing or unreadable, according to DENSO WAVE, the company that created the format. A small logo in the center covers some modules, and the scanner fills in the gap.

The catch is that the logo spends recovery capacity before anything has gone wrong. A scratch, a fold or a reflection then has less room left. That's why codes with logos need more care than plain ones.

How do you add a logo safely?

Use error correction level H, keep the logo small and centered, give it a clean background, and leave the corner squares untouched.

  1. Set level H in the generator before adding the logo.
  2. Keep it small. Start well under a quarter of the code's width and grow it only if every test phone still reads it.
  3. Center it. The middle is furthest from the corner squares and the timing patterns along the edges.
  4. Add a white or light pad around the logo so its edges don't merge with the modules.
  5. Never cover the three large squares in the corners. Scanners use them to find and align the code.
  6. Keep the quiet zone, the blank margin around the whole code.

The QR code generator lets you add a logo, set the error correction level and see the result before you export. Everything runs in your browser, including the logo file.

Which colors scan reliably?

Dark modules on a light background with strong contrast scan reliably; light modules, low contrast and busy backgrounds don't.

Phone scanners look for the difference between dark and light. They don't need black.

Combination Result Notes
Navy, forest green or burgundy on white Reliable Good way to match a brand
Black on cream or light gray Reliable Keep the background pale
Mid gray on white Risky Contrast too low in dim light
Yellow, orange or pastel modules Poor Too close to the background
Code over a photo Poor Put the code on a solid light panel
Gradient modules Risky Keep the lightest part still dark

A rough check: if the code looks faint when you squint at it, a phone will struggle too. For a more formal yardstick, web accessibility guidance asks for a contrast ratio of at least 3:1 for graphical objects. QR codes need more than that in practice, so aim for strong contrast and confirm by scanning.

Do inverted QR codes work?

Some phones read light-on-dark codes and some don't, so test inverted codes carefully or avoid them for anything important.

An inverted code has light modules on a dark background. It can look great on a dark brand design. Many current phone cameras handle it, but support is less consistent than for standard dark-on-light codes, especially on older devices and some third-party scanning apps.

If you want a dark design, a safer approach is a light panel on the dark background with a normal dark-on-light code inside it.

What about rounded dots and custom shapes?

Styled modules usually scan if each module stays distinct and the corner squares remain clearly square-like.

Rounded dots, soft corners and custom finder shapes are popular. They work as long as the scanner can still tell modules apart and recognize the three finder patterns. Problems start when dots get so small that gaps open up, or so large that neighbors merge.

Combining heavy styling, a logo and low contrast stacks the risks. Pick one or two design changes, not all of them.

How do you test a designed code?

Print it at real size on the real material, then scan it with several phones in ordinary light and at the real distance.

  • Use at least two phones, ideally one older model, and both the built-in camera and one scanning app.
  • Scan in the light where the code will be used: a dim restaurant, a sunny window, a fluorescent office.
  • Scan from the distance people will actually stand.
  • Check that the link or contact opens correctly, not only that the code is detected.

If any phone hesitates, shrink the logo, raise the contrast or simplify the styling, then test again. A plain code that always works is better than a pretty one that sometimes doesn't. For sizing and margins, see our guide to QR codes for print.

Sources

Questions

How big can the logo in a QR code be?

Smaller is safer. A logo covering a modest part of the center usually works at error correction level H, but the exact limit depends on the code's size and content. Start small, test with several phones, and stop enlarging the logo as soon as any phone hesitates.

Can a QR code be any color?

The modules can be almost any dark color and the background any light color, as long as the contrast is strong. Dark blue, green or burgundy on white or cream works well. Pale colors, yellow modules and busy photo backgrounds cause problems.

Do rounded dots or custom shapes still scan?

Often, yes, if the modules stay distinct and the corner squares remain recognizable. Heavy styling reduces the margin for print errors and wear, so test styled codes more carefully than plain ones.

Does a logo slow down scanning?

It can, slightly, because the scanner relies on error correction to fill in the covered area. On a good print at a sensible size the difference is hard to notice. On a small or worn print, it can tip a code from readable to unreadable.

More guides