Nhà > Blog > Cách thiết kế mã QR để quét đáng tin cậy
Scanning a branded QR code

Cách thiết kế mã QR để quét đáng tin cậy

Learn how to design scannable branded QR codes. Discover essential rules for color contrast, sizing ratios, quiet zones, and logo error correction.
Updated on Tháng 9 29, 2026
Mục lục

Are your custom QR codes failing to scan in the real world? When a branded code does not work, it frustrates customers and damages your credibility. This guide explains how to balance visual branding with technical requirements to ensure every code scans reliably across all devices.

Tại sao độ tương phản là nền tảng của khả năng quét

The most common reason QR codes fail is insufficient contrast between the foreground pattern and the background. Optical sensors read codes by measuring differences in light reflectance. Darker colors absorb light, while lighter colors reflect it back to the sensor. If the difference between the two is too small, camera software cannot distinguish individual data modules.

To keep your code functional, maintain at least a 55% contrast difference and follow established các phương pháp hay nhất về độ tương phản màu sắc by aiming for a contrast ratio of at least 4.5:1. While black-on-white provides the optimal 21:1 ratio, you can use brand colors effectively if you pair dark foreground modules with a light background.

Avoid inverting your colors. While some modern smartphone cameras can detect white codes on dark surfaces, many older devices and third-party scanning tools will fail completely. In addition, avoid using color gradients, soft dropshadows, or transparency effects across the data grid, as subtle color shifts create mid-tones that blur module edges.

Foreground Color Background Color Tỷ lệ tương phản Scannability Result
Black White 21:1 Optimal performance across all devices
Navy Blue Beige 15:1 Excellent scannability with brand styling
Dark Green White 4.5:1 Acceptable; requires careful device testing
Light Gray White 1.5:1 Poor; fails on most smartphone cameras
White Black 21:1 Unreliable; inverted styling fails on older apps

Điều chỉnh kích thước mã QR của bạn cho khoảng cách và khả năng hiển thị

QR code sizing is a physical requirement dictated by the focal length and resolution of mobile camera lenses. A code that is printed too small will blur when viewed from a distance, preventing optical sensors from resolving individual modules.

To determine the minimum dimensions for any layout, use the 10:1 distance-to-size ratio. Divide your expected scanning distance by 10 to establish the minimum width and height of the code. For example, if customers scan a poster from 40 inches away, the code should measure at least 4 x 4 inches.

For handheld media such as business cards, coupons, and table tents, never print smaller than the recommended minimum of 0.8 x 0.8 inches (2 x 2 cm). You can consult our detailed hướng dẫn kích thước mã QR của chúng tôi to calculate specific dimensions for outdoor billboards, packaging labels, and direct mail.

Hướng dẫn kích thước QR

Data density also affects your required size. A standard static QR code that encodes a long URL packs hundreds of tiny modules into the grid, making the code much harder to read at smaller sizes. You can keep the grid clean and open by using a trình tạo mã QR miễn phí to build dynamic QR codes. Dynamic codes store a short redirect link, keeping module density low and scannability high.

Design Scannable Branded Codes in Minutes Want to integrate brand colors and custom logos without sacrificing technical reliability? Create custom vector codes with real-time design previews using the trình tạo mã QR chuyên nghiệp có logo của chúng tôi ngay hôm nay.

Tích hợp logo mà không làm hỏng chức năng

Adding a brand mark or icon to the center of a QR code boosts brand recognition and assures users that the link is safe to open. This customization is made possible by Reed-Solomon error correction, a mathematical algorithm that reconstructs obscured, missing, or damaged data modules within the grid.

Standard QR codes offer four error correction levels:

  • Level L (Low) recovers up to 7% of damaged data and provides the lowest module density.
  • Level M (Medium) recovers up to 15% of damaged data and serves as the standard for basic black-and-white marketing codes.
  • Level Q (Quartile) recovers up to 25% of damaged data and supports moderate design modifications.
  • Level H (High) recovers up to 30% of damaged data and is required whenever you embed custom graphics or logos.

When designing a branded code, review cách sửa lỗi hoạt động so you can balance data recovery against pattern complexity. Level H allows you to overlay a graphic, but the logo should occupy no more than 25% to 30% of the total surface area. Keep the logo centered and avoid adding tiny text or complex graphic details that become unreadable at smaller print sizes.

Never obstruct the critical functional patterns of the QR code. The three large squares in the corners – known as the finder patterns or position detection markers – tell the camera how the code is oriented. If you cover or distort these corner eyes, or the smaller alignment patterns nearby, the scanning software cannot interpret the data grid. Learn more about safe placement rules in our tutorial on cách thêm logo vào mã QR.

Preserving the Quiet Zone Around Your Code

The quiet zone is the blank margin that completely borders the four outer edges of a QR code. This border creates an optical buffer zone that signals to scanning software where surrounding artwork ends and the data grid begins.

Under the ISO/IEC 18004 standard, the quiet zone must have a width of at least four modules (4X) on all four sides. If your code’s individual square modules are 2 mm wide, you must leave an unprinted border of at least 8 mm around the entire symbol.

Vùng yên tĩnh QR

Encroaching on the quiet zone is a frequent design error in commercial packaging and print layouts. When text, border lines, or decorative background illustrations touch the edge of the code, camera sensors merge those elements into the data grid, triggering immediate decode errors. Always maintain the full quiet zone and ensure its background color matches the light modules of the code.

Print Materials and Real-World Validation

A digital QR code that scans smoothly on a high-definition monitor can still fail on physical materials if the printing process or surface environment is not accounted for during design.

To maintain optical clarity, follow these production guidelines:

  • Export your artwork exclusively in vector formats like SVG, EPS, or vector PDF so the edges stay perfectly sharp at any scale.
  • Maintain a minimum resolution of 300 DPI if you must work with raster formats like PNG or TIFF.
  • Select matte or satin paper stocks over high-gloss varnishes and metallic foils to prevent ambient light reflections from blinding camera sensors.
  • Position codes on flat surfaces rather than across folds, ridges, corners, or tightly curved bottles that distort the geometric grid.
  • Place public codes at natural eye level and ensure the display environment provides adequate lighting.

Always take time to test a QR code before printing large production runs. Produce a single physical proof on the actual material you intend to use. Then, conduct comprehensive field tests using both iOS and Android smartphones, built-in camera tools, and an máy quét mã QR trực tuyến to verify rapid scanning under low-light and off-angle conditions.

Launching Reliable Custom QR Campaigns

Designing an attractive QR code should never come at the expense of scanning performance. By maintaining strong foreground-to-background contrast, sizing codes based on actual viewing distances, protecting the four-module quiet zone, and setting error correction to Level H for embedded logos, you guarantee smooth interactions for every customer.

Before you launch your next campaign, review our guide to testing QR codes for mobile usability to verify that your post-scan landing pages load quickly and display correctly across all screen sizes. With technical standards in place, you can confidently deploy branded QR codes that capture attention and drive measurable digital engagement.

Các câu hỏi thường gặp

Kích thước tối thiểu tuyệt đối cho mã QR được in là bao nhiêu?

For close-range scanning on business cards and packaging, keep your QR code at least 0.8 x 0.8 inches (2 x 2 cm). For larger distances, follow the 10:1 ratio, allowing 1 inch of code width for every 10 inches of distance between the user and the code.

Why do inverted QR codes fail to scan on some devices?

Most barcode readers and smartphone cameras are programmed to identify dark patterns on light backgrounds by measuring reflected light. Inverting the colors causes edge-detection algorithms to fail, particularly on older smartphones, third-party apps, or in dimly lit spaces.

Which error correction level should I choose when adding a brand logo?

You should select Level H error correction, which recovers up to 30% of covered or obscured data. This allows you to place a centered logo covering up to 25% to 30% of the code without breaking the scanner’s ability to decode the underlying information.

Giới thiệu về tác giả

Siim Kostabi là Trưởng nhóm Nội dung tại Pageloot. Anh ấy viết về dịch vụ tạo mã QR tiên tiến của chúng tôi. Với kinh nghiệm sâu rộng hơn nửa thập kỷ về mã QR, Siim là một chuyên gia trong lĩnh vực này. Anh ấy đã có những đóng góp đáng kể trong việc tận dụng công nghệ QR để đơn giản hóa và nâng cao tương tác kỹ thuật số.

Danh mục
Học nhiều hơn về

Nếu bạn cần tạo Mã QR trực tuyến, bạn có thể Tạo mã QR ngay tại đây miễn phí!
Pageloot là Giải pháp Đi tới #1 để tạo và quét Mã QR.

BL-0109

blog-gen

Được hơn 20.000 thương hiệu tin dùng để có thêm doanh số, đánh giá và người theo dõi.

Logo khách hàng
Được tin cậy bởi các thương hiệu hàng đầu
Được đánh giá 4.8 trên 5

Đánh giá 4.86 / 5 sao

Hugo Laurent
Hugo Laurent
★★★★★
Chủ nhà hàng
Trình tạo mã QR dễ dàng và đáng tin cậy nhất từ trước đến nay. Các tệp PDF có thể được tải lên ngay lập tức. Thực đơn nhà hàng của chúng tôi bây giờ là kỹ thuật số.
Lucas Jansen
Lucas Jansen
★★★★★
Nhà phát triển bất động sản
Đây là một công cụ tuyệt vời và mã QR sẽ đưa bạn đến nơi bạn muốn. Chúng tôi chỉ sử dụng mã QR vị trí nhưng có rất nhiều tính năng hữu ích.
Emma Moretti
Emma Moretti
★★★★★
Sản phẩm bán lẻ
Dễ dàng sử dụng và nhanh chóng. Nó hoạt động tuyệt vời và tạo ra một hình ảnh hoàn hảo, vì vậy nhân viên có thể tải xuống vCard của tôi.
Hugo Laurent
Hugo Laurent
★★★★★
Chủ nhà hàng
Trình tạo mã QR dễ dàng và đáng tin cậy nhất từ trước đến nay. Các tệp PDF có thể được tải lên ngay lập tức. Thực đơn nhà hàng của chúng tôi bây giờ là kỹ thuật số.
Lucas Jansen
Lucas Jansen
★★★★★
Nhà phát triển bất động sản
Đây là một công cụ tuyệt vời và mã QR sẽ đưa bạn đến nơi bạn muốn. Chúng tôi chỉ sử dụng mã QR vị trí nhưng có rất nhiều tính năng hữu ích.
Emma Moretti
Emma Moretti
★★★★★
Sản phẩm bán lẻ
Dễ dàng sử dụng và nhanh chóng. Nó hoạt động tuyệt vời và tạo ra một hình ảnh hoàn hảo, vì vậy nhân viên có thể tải xuống vCard của tôi.
Xem thêm mã QR
Quét mã QR TikTok
Tạo mã QR cho TikTok
Biến mọi thứ thành trải nghiệm kỹ thuật số trong vòng chưa đầy 3 phút.

Dùng thử miễn phí 14 ngày.

Không cần thẻ tín dụng.

Giảm giá 30% cho lần mua hàng đầu tiên của bạn

Sử dụng mã:

Chia sẻ tệp MP3 của bạn

Đăng ký tạo mã QR PDF

Tải lên và hiển thị mọi thứ bạn cần:

  • Tập tin âm thanh
  • Podcast
  • Âm nhạc

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

đăng ký để tạo mã QR âm thanh mp3

Nhận thêm lượt quét với khung

Đăng ký để thêm nhiều khung hơn vào mã QR của bạn

Khung kêu gọi hành động giúp khách hàng của bạn tương tác với QR Code một cách dễ dàng. Thử chúng ra!

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để thêm nhiều khung hơn vào mã QR của bạn

Thêm phong cách với hình dạng

Đăng ký để tạo nhiều hình hơn

Mã QR không nhất thiết phải là hình vuông. Hãy thử thay đổi nó để phù hợp với hình ảnh thương hiệu của bạn.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để tạo nhiều hình hơn

Thêm logo vào Mã QR của bạn

Đăng ký để thêm logo của bạn vào mã QR

Làm cho mã QR của bạn nổi bật bằng cách thêm logo và thương hiệu của bạn vào đó.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để thêm logo của bạn vào mã QR

Chuyển hướng thông minh đến App Store

Đăng ký tạo mã QR cửa hàng ứng dụng

Thêm liên kết Ứng dụng của bạn vào Mã QR App Store thông minh của chúng tôi. Người dùng được chuyển hướng dựa trên thiết bị của họ.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR cửa hàng ứng dụng

Tải ảnh lên Mã QR

Đăng ký tạo mã QR hình ảnh

Chia sẻ hình ảnh của bạn một cách dễ dàng. Thay đổi bất kỳ hình ảnh nào một cách linh hoạt trong vòng vài giây.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR hình ảnh

Chia sẻ tệp PDF của bạn

Đăng ký tạo mã QR PDF

Tải lên và hiển thị mọi thứ bạn cần:

  • Thực đơn & bảng giá
  • Hướng dẫn
  • Mọi tài liệu

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR PDF

Chỉnh sửa sau mà không cần in lại

Đăng ký để chỉnh sửa mã QR của bạn mà không cần in lại

Mã QR động cho phép bạn thay đổi nội dung của Mã QR mà không cần phải in mã mới.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để chỉnh sửa mã QR của bạn mà không cần in lại

Khi nào? Ở đâu? Theo dõi lượt quét Mã QR của bạn

Đăng ký để theo dõi mã QR của bạn

Khám phá những Mã QR nào của bạn nhận được nhiều lần quét nhất và điều gì khiến khách hàng của bạn phấn khích nhất.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để theo dõi mã QR của bạn

Tệp sẵn sàng để in có sẵn

Đăng ký tạo mã QR vector như PDF và SVG

.EPS, .PDF, .SVG

Bạn muốn tải xuống Mã QR của mình ở độ phân giải HD? Nhận các định dạng vector hoặc pixel đã sẵn sàng để in.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR vector như PDF và SVG

Vui lòng chờ. Mã QR của bạn là Đang tải... Đang tải...

Tùy chỉnh theo ý bạn

Đăng ký để lưu mã QR của bạn cho lần sau

Nhận được nhiều lượt quét hơn bằng cách tạo Mã QR tuyệt vời với các màu sắc, biểu trưng và khung kêu gọi hành động khác nhau.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để lưu mã QR của bạn cho lần sau