QR Design

QR Code Colors: How to Customize Them Without Breaking Them

A guide to using colors, gradients and backgrounds in your QR codes while keeping them readable: minimum contrast, combinations that work, mistakes to avoid and how to test them.

QR Code Colors: How to Customize Them Without Breaking Them

A black-and-white QR code works perfectly, but it goes unnoticed. A code in your brand colors catches the eye, looks professional and fits better on your packaging, website or poster. The problem is that not every color works: some beautiful designs simply cannot be scanned. In this guide we explain how to choose colors for your QR codes without sacrificing readability.

How a QR scanner “sees” color

A QR scanner does not interpret colors as such. It converts the image to grayscale and decides, for each module, whether it is dark or light. That is why what matters is not which color you use, but the difference in lightness between the modules and the background. Navy blue on white works as well as black; yellow on white almost never does.

Rule 1: dark modules on a light background

This is the most important rule. The modules (the “dots” of the code) must be darker than the background. If you invert the scheme, with light modules on a dark background, many scanners, especially older cameras and some apps, will not recognize the code. Although some modern phones can read it, it is not worth the risk on printed material.

Rule 2: enough contrast

As a reference, aim for a contrast of at least 4:1 between modules and background, similar to what is recommended for readable text on the web. In practice:

CombinationResult
Black on whiteExcellent
Navy blue on whiteExcellent
Dark green on creamVery good
Dark red on whiteGood
Medium gray on whiteRisky
Yellow or light blue on whiteDoes not work
White on black (inverted)Not recommended

If in doubt, convert your design to black and white in any image editor: if the code looks sharp in grayscale, it will work.

Gradients: yes, but carefully

Gradients give a modern, attractive look. For them to work:

  • Use gradients between two dark colors, for example blue to purple or dark green to teal.
  • Avoid gradients that end in a light color, because the modules in that area will blend into the background.
  • Apply the gradient to the modules and keep the background plain and light.

With the QRcrea QR code generator you can apply linear or radial gradients and see the result in the preview.

Eye colors

The three large squares in the corners, called “eyes” or finder patterns, can be colored separately. It is a very effective way to add personality: black modules and eyes in your brand color, for example. Keep the dark-on-light rule for the eyes too.

Backgrounds

  • White or very light background: the safest option.
  • Transparent background: useful for placing the code on a design, but only if what lies underneath is light and plain.
  • Image or textured background: avoid it. Textures confuse scanners. If the design demands it, place the code inside a white box.

Do not forget the quiet zone: the light margin around the code. If you place the code on a colored background, leave a white box that includes that margin.

Brand colors: how to adapt them

Many brands have light or vivid colors (yellow, orange, turquoise) that do not work for modules. Some solutions:

  1. Use a dark version of your brand color for the modules.
  2. Use your brand color for the eyes or the frame, and black or dark blue for the modules.
  3. Use your brand color as the background of the box around the code, leaving the code itself on white.
  4. Place your logo in the center to reinforce your identity without compromising contrast.

Printing: colors shift

Screen colors (RGB) are not exactly the same as printed colors (CMYK). A bright blue on screen may print duller, and a medium gray may come out too light. That is why you should:

  • Ask for a print proof before the full run.
  • Download the code in a vector format (SVG, PDF or EPS) so the printer can adjust the colors.
  • Avoid metallic or fluorescent inks for modules: they reflect light and make scanning harder.

Always test

Before signing off on a design, scan it:

  1. With at least two different phones, one of them mid-range or budget.
  2. In low light and in bright light.
  3. From the real distance it will be scanned from.
  4. Printed, not just on screen.

Frequently asked questions

Can I make a single-color QR code that is not black?

Yes, as long as it is a dark color on a light background. Navy, dark green, maroon, purple or dark brown work very well.

Do colored QR codes scan worse?

Not if the contrast is good. A dark blue code on white scans just like a black one.

Can I put the code on a photo?

Not directly. Place the code inside a white box with its quiet zone and put that box on the photo.

Conclusion

Customizing the color of your QR codes is an easy way to make them more attractive and consistent with your brand, as long as you follow three rules: dark modules on a light background, enough contrast and a plain background with a margin. Use dark gradients, color the eyes in your brand color and always test the printed result. Design your colored code with the QRcrea QR code generator and see the result instantly.

Ready to create your QR code?

Customize it with your colors and logo, and download it for free in seconds.

Create QR code
Scroll to Top