New:Experimental free plan now live for everyonev1.6.0

Ok1Second
Menu
Guide

QR code colors and contrast: what still scans

A branded QR code looks better than a black-and-white one — right up until a scanner refuses it. The rules are simpler than they look: it is all about contrast and polarity.

Updated 2026-10-05 · 1 min read

Polarity matters as much as contrast

Scanners expect dark modules on a light background. Inverting that — light modules on a dark background — works on some phones and fails on others, so it is a gamble on a print run.

  • Dark foreground, light background: safe
  • Light foreground, dark background: risky
  • Low-contrast pairs like gray on white: unreliable
  • Similar hues (red on orange): unreliable

Branding without breaking it

Use your brand color for the modules and keep the background near-white or a very light tint. Round the modules and restyle the corners if you want, and raise error correction if you also add a glyph.

Frequently asked questions

Can QR codes be any color?
Any color that keeps strong contrast against a light background. Dark blue, deep green and near-black all scan well.
Do inverted QR codes work?
Sometimes. Many modern phones read them, but not all — avoid inversion on anything printed in bulk.
What contrast should I aim for?
Treat it like accessibility text: the higher the contrast, the more reliably it scans in poor lighting.

Keep reading

Ready to create one?

Dynamic codes are editable forever from $4/month.

Create your first dynamic QR code

Free to start. One code, editable forever, with scan tracking from the first scan.

Privacy-first analyticsNo per-scan feesEdit links anytimeNo contract