qrfast
  1. Home
  2. Articles
  3. How to

Custom QR codes with a logo and brand colors: what's safe and what to avoid

Yes, you can add a logo and brand colors. Keep the code clearly darker than the background, use a simple mark, leave the margin empty and test on a few phones.

By the qrfast team· 7 min read ·

Read in another language: ไทย

Custom QR codes with a logo and brand colors: what's safe and what to avoid

Yes, you can put your logo on a QR code and print it in your brand colors, and phones can still read it, as long as you respect four limits. The code has to stay clearly darker than its background. The logo should be a simple mark, not your full wordmark. The margin around the code stays empty, four modules wide on every side according to DENSO WAVE, the company that invented the QR code. And you test the final print on more than one phone.

In the qrfast builder, adding a logo automatically switches the code to error correction level H, the highest of four levels. At that level a code can restore roughly 30% of its data when part of the pattern is covered or damaged (DENSO WAVE on error correction). That's the safety margin a logo borrows from.

Every design option, compared

All of these live under Design in the builder. The table sums up the reasoning in the sections below it.

OptionSafe choiceRisky choice
PresetsClassicDots, when the code will print small
Code colorBlack or your darkest brand colorPastels, yellow, light gray, and red if checkout or warehouse scanners must read it
BackgroundWhite or a very light tintDark colors, or a light color close to the code color
Solid / gradientSolid, or a gradient between two dark colorsA gradient that fades into a light color
Dot styleSquare or RoundedDots on small prints or rough paper
Corner frame and Corner dotSquareCircle, until you've tested it on several phones
LogoA simple mark, added in the builderSmall text inside the logo, or a logo pasted on later
Transparent backgroundPlain, light surfacesDark surfaces, photos and patterns

"Caption under the code" sits below the pattern rather than on it, so it's not a scanning risk. A short line such as "Scan for menu" tells people what they'll get.

Color: contrast beats hue

Scanners tell the pattern from the background by the difference in reflected light, which is why DENSO WAVE's basic advice is black on white. Its FAQ adds a detail worth knowing: dedicated QR scanners capture the image with red light, so a red code on a white background, or a blue code on green, can't be read at all, while blue or green on white or yellow sometimes can, depending on how deep the color is. For phone cameras, DENSO WAVE says to ask the phone makers (DENSO WAVE FAQ).

That gives two working rules. If the code might ever be read by a checkout or warehouse scanner, don't make it red. For codes people scan with phones, keep the pattern obviously darker than the background even in black and white. Here's a quick check: take a screenshot of the preview, turn it grayscale in any photo editor and look. If the code turns into a pale gray that blends into the background, pick a darker color.

  • Brand colors. Navy, forest green, espresso brown and other deep shades work well on white. Yellow, pastels and light blue are too faint for the code itself; save them for the rest of your design.
  • Inverted colors. Some scanning apps can't read a light code on a dark background. If your poster is dark, place the code on a white panel that includes the margin.
  • Gradients. Choosing Gradient under "Solid / gradient" adds a second color field, "Gradient 2". Judge the gradient by its lighter end, because that's the part that fades into the background first.
  • Transparent background. It's meant for placing the code on a plain, light surface. Over a dark color or a photo, the dark modules lose their light backing and the quiet zone disappears with it. DENSO WAVE gives similar advice for codes on transparent materials: print a white background behind them.

Logos: what they cost

Error correction comes in four levels. DENSO WAVE lists how much data each can restore, measured against all the data in the code rather than the visible area:

  • L, about 7%, suggested for clean environments and large amounts of data
  • M, about 15%, the level selected most often
  • Q, about 25%, and H, about 30%, both suggested where codes get dirty, such as factories

Higher levels carry more backup data, so the pattern needs more modules. A qrfast short link is 26 characters. DENSO WAVE's capacity table puts that in a 25×25 grid at level M and a 33×33 grid at level H (capacity table). Printed 3 cm (about 1.2 in) wide, which the common one-in-ten rule of thumb suggests for a table tent read from about 30 cm (1 ft), each module shrinks from 1.2 mm to about 0.9 mm. Anything smaller, like a business card or a small product sticker, deserves a test print first; QR code print size has sizes by scanning distance.

The 30% isn't permission to cover 30% of the code. Data and area don't map one to one, and some parts can't be covered at all, starting with the three big corner squares. DENSO WAVE also warns that once an illustration or design deforms a code, error correction is already busy, so even a tiny extra smudge can make the code unreadable or slow to read (FAQ). That's the real cost of a logo: less spare capacity for wear and dirt.

  • Use a mark, not a wordmark. Small lettering inside a logo turns to mush when the code prints a few centimeters wide.
  • Add it in the builder. The Logo field takes PNG, JPG or SVG files up to 2 MB, and the file stays on your device; it's never uploaded. A logo dropped on top later in a design app doesn't come with the higher error correction.
  • Skip it where codes take a beating. Shipping labels, outdoor signs and stickers that people touch all day are better off keeping all of their spare capacity for scuffs.

Shapes and corners

The three corner squares are position detection patterns. According to DENSO WAVE's history of the QR code, its developers chose squares with a 1:1:3:1:1 ratio of dark to light because that ratio turned up least often in the printed material they surveyed, which lets a reader find the code from any angle (QR code history). The Corner frame and Corner dot options can turn them into rounded shapes or circles. They can look great. Just test them on several phones, since you're reshaping the very thing readers search for.

Dot style works the same way. Square is the standard shape, and Rounded, Classy, Classy rounded and Extra rounded reshape the edges of each module. Dots turns every module into a circle, which covers about 79% of the square it replaces (π/4) and leaves gaps between neighbors, so the whole pattern reads a little lighter. If you love the look, print it a bit larger and use a very dark color.

Test before you print

  1. Download the file, open the QR scanner, tap "Choose an image with a QR code" and pick the file to make sure it reads.
  2. Print one sample at the real size on the real material.
  3. Scan it with at least one iPhone and one Android phone, plus an older model if you can borrow one.
  4. If it struggles, change one thing at a time, starting with color and size before shapes.

If you'd like one low-risk starting point, pick the Classic preset, set "Code color" to your darkest brand color, keep the white background, and add a logo only if it's a simple mark. The shapes stay standard and the code still looks like yours.

Related articles