A QR code doesn't have to be an ugly black-and-white square. Modern QR generators support custom colors, dot shapes, logo overlays, and decorative frames — and when done right, a branded QR code can increase scan rates by making the code look intentional rather than incidental. Done wrong, customization destroys scannability entirely. This guide shows you how to walk that line.

The Golden Rule: Contrast Above Everything

QR scanners work by detecting the contrast between dark modules (data dots) and the light background. The single most important design rule is: keep your dark elements dark and your light background light, with a contrast ratio of at least 4:1. This is non-negotiable.

✓ Do

  • Dark purple dots on white background
  • Navy dots on cream or light yellow
  • Black dots on any light color
  • Dark green on light green (if contrast is sufficient)

✗ Don't

  • Light dots on a white background
  • Yellow dots on white (almost invisible)
  • Red dots on green background (colorblind issue)
  • Inverted QR (white on black) without testing

Inverted QR codes (light dots on dark background) can work, but they break more scanners than standard codes. If you want a dark background, test on multiple devices before deploying — iPhone and Android QR reading implementations handle inverted codes differently.

Dot Shapes: Beyond the Basic Square

The individual data modules in a QR code don't have to be squares. Modern QR code generators offer dot shapes including:

Non-square dot shapes reduce the "pixel density" of information per module, which means the scanner has a smaller target per dot. For high error-correction codes (H level), this is fine. For low error-correction codes encoding long URLs, stick to squares or rounded squares.

Corner Patterns (Finder Squares)

The three large corner squares are the most visually prominent feature of a QR code. Most generators let you style them independently from the data dots:

The corner patterns must always maintain high contrast with the background and with each other. Scanners use them to locate the code — if they're ambiguous, the scan fails before it even reaches the data.

Embedding a Logo

Adding your brand logo to the center of a QR code is one of the most powerful ways to make it recognizable and increase scan rates. It signals "this is intentional" and gives users confidence about what they're scanning. Here's how to do it without breaking the code:

Rule 1

Use H (High) Error Correction

H-level error correction tolerates up to 30% of the code being obscured. Your logo will cover part of the data region — error correction reconstructs the covered codewords. Never embed a logo in a code using L or M error correction.

Rule 2

Keep the Logo Under 20-25% of Code Area

Even with H-level error correction, covering more than 25-30% of the code area pushes into unreliable territory. A logo taking up 15-20% of the total area is the safe sweet spot. This is roughly a 60x60 pixel logo on a 300x300 pixel QR code.

Rule 3

Add a White Padding Border Around the Logo

Give your logo a white margin of at least 5-8 pixels. This separates the logo's dark elements from the surrounding QR data, preventing the scanner from confusing logo pixels for QR modules. Even logos with a white background need this padding.

Rule 4

Use a Simple, High-Contrast Logo

Detailed logos with gradients, fine lines, or very small text don't embed well. The logo is displayed at a small size and may be further reduced on physical prints. Use your wordmark or icon in its simplest form — flat, bold, and high-contrast.

Colors: Staying Branded Without Losing Scans

Color QR codes work — but they require testing. The key principles:

Frames and Call-to-Action Text

A QR code with a frame and a call-to-action (CTA) text increases scan rates significantly. "Scan to Order", "Scan for WiFi", "Scan to Book" — these short phrases eliminate ambiguity and increase user confidence. Design considerations:

Print Size and the Quiet Zone

Minimum recommended print size for reliable scanning is 2cm x 2cm (about 0.8 inches). For outdoor use or larger distances, scale proportionally — a code meant to be scanned from 3 meters away should be at least 15cm x 15cm.

Every QR code requires a quiet zone — a border of white space around the code equal to at least 4 module widths. This is often the most common print mistake: placing the QR code flush against a colored border or graphic. Without the quiet zone, scanners can't find the code's boundaries and the scan fails.

Test Before You Commit

Before printing hundreds of labels, menus, or business cards, test your QR code:

  1. Scan on an iPhone using the native Camera app
  2. Scan on an Android phone using both the native Camera app and Google Lens
  3. Print a physical test copy and scan it — screen scans are easier than physical scans
  4. Test in low light conditions if the code will be used indoors
  5. If the code will be on curved surfaces (bottles, cups), test on a curve

Design Your QR Code Now

Custom colors, dot shapes, logo embedding, and CTA frames — all free in our generator.

Start Designing →