QR code design tips: colors, logos and frames that still scan

A branded QR code gets more scans — as long as it still works. Here is how to get both.

Rule 1: Keep strong contrast

Cameras read a QR code by telling dark modules from light ones. The safest choice is a dark color on a light background: black, navy, dark green or deep red on white or cream all work well. Pale colors such as yellow, light grey or pastel pink on white often fail, especially in dim light. The generator checks the contrast for you and warns you if it's too low.

Rule 2: Don't invert the code

Light modules on a dark background (an "inverted" code) look stylish, but some scanner apps and older phones can't read them. If you need a dark design, put the code on a white panel or frame instead.

Rule 3: Keep the logo small

A logo in the middle covers part of the code. This works because QR codes contain error correction — extra data that lets a damaged code still be read. When you add a logo, the generator uses the highest level (H), which can recover about 30% of the code. In practice, keep the logo to roughly a quarter of the code's width or less, and use a simple, high-contrast logo.

Rule 4: Leave the corners alone

The three large squares in the corners — the finder patterns — are how a phone locates the code. You can round them or change their color, but don't cover them, cut them off or put the logo over them.

Rule 5: Keep the quiet zone

A QR code needs an empty border around it so the scanner can see where it starts. The official recommendation is four modules wide. Don't crop it in your design software, and don't place text or patterns right up against the code.

Gradients and patterns

Gradients are fine if both ends of the gradient are dark. Rounded or dotted module shapes are fine too. Avoid background photos behind the code — the busy pattern confuses cameras.

Frames and calls to action

A short instruction such as "Scan for menu" or "Scan to join WiFi" noticeably increases scans, because people know what they will get. A frame keeps that text attached to the code wherever it's placed.

Always test

Before you print, scan the final design from the size and distance people will use, with at least two different phones. Some browsers on this site also run an automatic scan test and show "Scan test passed" when your design is readable.

Design your QR code →

More guides