QR Code Design Best Practices
Gone are the days when QR codes had to be plain black and white squares. Modern QR code generators allow extensive customization — but with great design freedom comes the responsibility to maintain scannability. This guide covers how to create beautiful, branded QR codes that actually work.
The Fundamental Rule: Scannability First
No matter how stunning your QR code design looks, it is worthless if it cannot be scanned. Every design decision should be tested against this principle:
If it does not scan reliably, it does not ship.
Always test your customized QR code with at least three different smartphones before finalizing your design.
Color Best Practices
Contrast Is King
The single most important factor in QR code scannability is contrast between the foreground (modules) and background. The human eye and camera sensors need sufficient luminance difference to detect the pattern.
Rules for color selection:
- Dark foreground, light background — This is the traditional and most reliable approach
- Minimum contrast ratio: 4:1 (WCAG AA standard), but aim for 7:1 or higher
- Never use similar colors — Navy on black, light gray on white, and other low-contrast combinations will fail
Colors That Work Well
| Foreground | Background | Contrast | Result |
|---|---|---|---|
| Black | White | Excellent | Classic, always works |
| Dark navy (#1a1a2e) | White | Excellent | Professional, modern |
| Dark green (#0d5016) | White | Very good | Eco-friendly, natural |
| Dark red (#8b0000) | White | Very good | Bold, attention-grabbing |
| Dark purple (#2d1b69) | Light lavender | Good | Creative, unique |
| Brand dark color | Brand light color | Varies | On-brand, test carefully |
Colors to Avoid
- Yellow on white — Insufficient contrast
- Light blue on white — Too similar in luminance
- Red on green (or vice versa) — Color blindness issues
- Neon colors — Can cause scanning issues on screens
- Gradient foregrounds — Can reduce contrast in lighter areas
Using Brand Colors
To incorporate your brand colors safely:
- Use your darkest brand color for the foreground modules
- Use white or your lightest brand color for the background
- Test the combination thoroughly
- If your brand colors are all light or pastel, use a darker shade for the QR code foreground
Adding Logos to QR Codes
How Logo Overlays Work
QR codes have built-in error correction that allows up to 30% of the code to be damaged or obscured while remaining scannable. A logo overlay takes advantage of this by covering the center of the QR code.
Logo Placement Rules
- Center the logo — The center of a QR code has the least critical data
- Use error correction level H (High, 30%) — This gives maximum room for a logo
- Keep the logo small — It should cover no more than 20–25% of the QR code area
- Add a white border around the logo — This separates it from the surrounding modules
- Use a simple logo version — Complex logos with fine details may blend with QR modules
Logo Size Guidelines
| QR Code Size | Max Logo Size | Safe Logo Size |
|---|---|---|
| 2 cm × 2 cm | 6 mm × 6 mm | 5 mm × 5 mm |
| 4 cm × 4 cm | 12 mm × 12 mm | 10 mm × 10 mm |
| 8 cm × 8 cm | 24 mm × 24 mm | 20 mm × 20 mm |
| 16 cm × 16 cm | 48 mm × 48 mm | 40 mm × 40 mm |
Logo Dos and Do Nots
Do:
- Use a simplified, high-contrast version of your logo
- Include a white padding zone around the logo
- Test scanning after adding the logo
- Use SVG logos for crisp rendering at any size
Do not:
- Cover more than 25% of the QR code
- Use a logo with colors similar to the QR code modules
- Place the logo off-center (it may cover finder patterns)
- Use complex, multi-color logos at small sizes
Module Shape Customization
Modern QR code generators allow you to customize the shape of individual modules (the small squares that make up the code).
Popular Module Styles
- Square (default) — Classic, highest compatibility
- Rounded squares — Softer, more modern feel
- Dots / circles — Trendy, works well with round logos
- Diamond — Unique, eye-catching
Shape Tips
- Finder patterns (the three large corner squares) should remain clearly distinguishable, even if you customize their style
- Extreme shape modifications can reduce scan reliability
- Test module style changes with multiple devices
- Simpler shapes generally scan better than complex ones
Frame and Call-to-Action Design
Adding a CTA Frame
A call to action (CTA) around your QR code significantly increases scan rates. Studies show QR codes with CTAs get up to 80% more scans than those without.
Effective CTA examples:
- "Scan to get 20% off"
- "Scan for menu"
- "Scan to connect to WiFi"
- "Scan to save contact"
- "Scan for more info"
Frame Design Tips
- Keep the CTA short and action-oriented
- Use contrasting colors for the frame to draw attention
- Do not let the frame encroach on the quiet zone
- Position text above or below the QR code, not over it
Background Design
Transparent vs Solid Backgrounds
- Solid white background — Safest choice, always works
- Solid light color — Works if contrast with foreground is sufficient
- Transparent background — Useful for overlaying on designs, but ensure the underlying background provides contrast
Background Images
You can place QR codes over background images, but:
- The QR code area must have a solid, light background behind it
- Use a white card or badge behind the QR code on busy backgrounds
- Never place a QR code directly on a photograph or complex pattern
Print vs Digital Design Considerations
For Print
- Export in SVG for unlimited scalability
- If using PNG, ensure 300+ DPI at the final print size
- Never use JPEG — compression artifacts damage module edges
- Test a physical print before mass production
- Account for print bleed and paper color (cream/off-white paper reduces contrast)
For Digital / Screen
- Use PNG at 2× the display size for retina screens
- On dark-themed websites, place QR codes on white card backgrounds
- Ensure the QR code is at least 240px on screen
- For presentations, make QR codes large enough for the audience to scan from their seats
Real-World Design Examples
Restaurant Menu QR Code
- Dark green modules on white
- Small restaurant logo centered
- "Scan for Menu" frame below
- 4 cm × 4 cm on table tent
Business Card QR Code
- Brand-color modules on white
- Rounded square module style
- No logo (too small)
- 2 cm × 2 cm in corner of card
Event Poster QR Code
- Black modules on white card
- Event logo centered (20% size)
- "Get Tickets" CTA frame
- 8 cm × 8 cm on A2 poster
Product Packaging QR Code
- Dark navy modules on white label
- Brand icon centered
- "Learn More" text below
- 2.5 cm × 2.5 cm on package
Testing Checklist
Before finalizing any customized QR code:
- Scan with iPhone (latest and older model)
- Scan with Android phone (latest and older model)
- Scan in bright lighting
- Scan in dim lighting
- Scan at the intended distance
- Scan at slight angles (±30°)
- Print test at actual size (for print use)
- Display test at actual pixels (for digital use)
- Verify the correct URL/content loads after scanning
Create Branded QR Codes
QRCode0 lets you customize colors, add logos, adjust module styles, and export in multiple formats — all for free, with no signup required. Create a QR code that matches your brand while maintaining perfect scannability.
