Can You Add a Logo to a QR Code?
Yes - and it remains scannable, thanks to a built-in error correction feature of the QR code standard. A QR code can have up to 30% of its area covered and still decode correctly. This is the mathematical guarantee that makes logo embedding safe.
However, doing it incorrectly can produce beautiful-looking codes that fail to scan reliably. This guide covers the rules you must follow.
The Science: Error Correction Levels
The ISO/IEC 18004 QR standard defines four error correction levels:
| Level | Name | % Recoverable | Use When |
|---|---|---|---|
| L | Low | 7% | Clean digital display, no logo |
| M | Medium | 15% | Standard use, minor damage possible |
| Q | Quartile | 25% | Outdoor use, light logo |
| H | High | 30% | Required when adding a logo |
Always use Error Correction Level H when embedding a logo. Our QR Code with Logo Generator automatically sets this for you.
The 10% Rule: Logo Size Limit
While H-level correction technically allows 30% coverage, keep your logo under 10% of the QR code's total area for maximum reliability. This may feel conservative, but here's why it matters:
- The 30% error correction is theoretical maximum recovery, not a comfortable margin
- At 30% logo coverage, many low-end scanner apps start failing
- Digital display at low resolution makes smaller modules harder to distinguish near the logo boundary
- 10% logo = approx. 32% of one side of the QR code (since area scales with square of dimension)
In practice: on a 500x500 pixel code, keep your logo under 160x160 pixels. On a 1000x1000 code, keep it under 316x316 pixels.
Contrast: The Most Overlooked Rule
Adding a logo introduces new contrast considerations beyond just the QR pattern itself:
- The logo must not spill into the QR modules around it. Ensure a clean white border (called a "quiet zone" border) separates the logo from the nearest QR modules.
- Don't use a transparent logo on a light background. If your logo is white or light-colored, add a white circular or square background behind it so it's clearly distinct from the dark QR modules.
- Don't use a dark-heavy logo on a dark module area. The logo should clearly stand out from the surrounding pattern.
Logo Shape: Circle vs Square
Both work, but each has considerations:
- Circle logo: Softer appearance, covers fewer module corners, tends to be safer for scannability. Best practice for most brands.
- Square logo: Aligned with the QR module grid - can look crisper if sized precisely. Add a white margin of at least 4 modules around it.
Color Choices for Branded QR Codes
You can use brand colors, but follow these rules:
- Foreground (modules) must always be darker than background. A light module on a dark background also works (inverted), but the scanner app must support it - most modern ones do.
- Minimum contrast ratio: 4:1 between foreground and background. Pure black (#000000) on pure white (#FFFFFF) is always safest.
- Avoid red on green, blue on blue - color-blind scanners (yes, some devices use algorithmic color correction) can fail with low-perceptual contrast.
- Test before printing. Always scan your final code with multiple devices before ordering print runs.
Step-by-Step: Create a Logo QR Code That Scans Reliably
- Go to the QR Code with Logo Generator.
- Enter your URL or other data type.
- Set Error Correction to High (H) - this is automatically set on the logo tool.
- Upload your logo (PNG or SVG). Keep it under 10% of code area.
- If your logo has a transparent background, enable the white padding option.
- Choose your brand colors (dark foreground on light background).
- Scan the preview with your phone before downloading - if it scans, you're good.
- Download SVG for print, PNG for digital use.
Common Mistakes That Break Logo QR Codes
- ❌ Logo too large - Covering more than 20% area reliably fails on basic scanner apps
- ❌ Wrong error correction level - Using L or M with a logo; this is the most common cause of failure
- ❌ Low contrast logo colors - Logo bleeds into the surrounding modules visually
- ❌ Not testing - Printing 500 business cards before verifying the code scans
- ❌ Scaling a PNG logo code up - Always start at your target size, don't rescale PNG after generation
Summary
A logo QR code is a powerful branding tool when done correctly. Follow these three rules and you'll never have a scanability problem:
- Always use Error Correction Level H
- Keep the logo under 10% of the total code area
- Test on real devices before printing