The Golden Rule

Scannability comes first. Every design decision — color, size, shape, logo — must be tested for scannability before going to print.

A QR code that looks great but fails to scan is worse than no QR code at all.

Color and Contrast

QR scanners rely on the contrast between dark modules (foreground) and light modules (background) to detect the code.

Do

  • Dark foreground on light background
  • Minimum 40% contrast difference
  • Black on white (safest choice)
  • Dark blue, dark green, or dark red on white
  • Test on multiple devices after coloring

Don't

  • Light foreground on dark background (inverted)
  • Yellow on white or light on light
  • Gradient colors across modules
  • Red on green (colorblind-unfriendly)
  • Transparent backgrounds on busy surfaces

Inverted QR codes are risky

While some modern scanners can read inverted QR codes (light modules on dark background), many older devices and camera apps cannot. Always use dark-on-light for maximum compatibility.

Size and Print Guidelines

The minimum size depends on the scanning distance. Use the 10:1 rule as a starting point: for every 10 units of scanning distance, the QR code should be at least 1 unit in size.

Use CaseScan DistanceMin QR SizeRecommended DPI
Business card15–30 cm2 × 2 cm300+
Product label15–30 cm2.5 × 2.5 cm300+
Flyer / A4 poster30–60 cm3 × 3 cm300
Table tent / menu30–50 cm3 × 3 cm300
A3 poster1–2 m10 × 10 cm150–300
Banner / sign3–5 m30 × 30 cm72–150
Billboard10+ m1 × 1 m+72

Quiet Zone

The quiet zone is the mandatory blank margin surrounding the QR code. Per the ISO 18004 standard, it must be at least 4 modules wide on all sides.

Without an adequate quiet zone, scanners may fail to detect where the QR code ends and the background begins.

Key Insight

The quiet zone is the #1 cause of scan failures in printed materials. Designers often crop it to save space — never reduce the margin below 4 modules.

Logo Placement

Adding a logo to the center of a QR code is popular for branding, but it must be done carefully. The logo physically obscures data modules, so the QR code relies on error correction to remain readable.

≤ 10%
Safe with Level M
Small logo, any EC level
10–20%
Needs Level Q
Medium logo, higher EC
20–30%
Requires Level H
Maximum safe coverage

Logo best practices

Use a square or circular logo with white background padding. Center it precisely. Always use error correction level H (30% recovery) when adding a logo. Never exceed 30% coverage — and test on at least 3 different devices.

Dot Styles

Modern QR generators (including ours) offer alternative module shapes: rounded squares, circles, and other patterns. These can make a QR code more visually appealing, but keep these rules in mind:

  • Finder patterns should remain square — altering them can prevent detection.
  • Rounded modules are safe — small border-radius values do not affect scannability.
  • Circular dots work well — but test at your target print size, as very small circles may blur together.
  • Avoid extreme styling — modules shaped as stars, hearts, or complex shapes reduce reliability.

Export Format

FormatBest ForScalable?
SVGPrint (any size), professional designInfinitely
PNGWeb, email, social mediaNo (raster)
PDFPrint documents, professional materialsYes (vector)

Always use SVG for print

SVG is a vector format that scales to any size without losing quality. For billboards, banners, or any large-format printing, SVG ensures crisp modules at any resolution. PNG is fine for digital screens.

Design Checklist

  • Dark foreground on light background with 40%+ contrast
  • Quiet zone of at least 4 modules on all sides
  • Minimum 2 cm for close-range, 10:1 ratio for distance
  • Logo covers no more than 30% with error correction H
  • Finder patterns are unmodified squares
  • Exported in SVG for print, PNG for digital
  • Tested on 3+ devices at the target distance and angle
  • Includes a clear call-to-action text near the QR code

Design your QR code

Custom colors, logo upload, dot styles, and SVG/PNG/PDF export — all free.