Color guide
Change your QR code colors
Match your QR code to your brand with custom colors, gradients and separate corner colors. A live contrast check tells you when a combination might be hard for phones to read.
Content
Include https:// for the most reliable result.
Design
Live preview
Add your content to finish
Good contrast (17.6:1). Dark code on a light background is the most reliable.
Keep both colors dark so every part of the code stays readable.
Color the three large corner markers differently.
Color rules that keep codes scannable
- Dark on light. Phones look for dark modules on a light background. Keep the code darker than its background.
- Contrast over color. A dark navy or forest green scans as well as black, but pastel shades usually don't.
- Plain backgrounds. Don't place the code on photos or patterns; keep its margin clear and light.
- Check both gradient ends. The lighter end of a gradient is where scans fail first.
- Print a test. Printers can shift colors, especially on colored or textured paper.
About contrast ratios
The contrast figure shown in the Colors tab uses the same luminance formula as web accessibility guidelines (WCAG). It's a practical guide rather than a guarantee: lighting, print quality and the phone's camera all play a part.
Questions
Can a QR code be any color?
Almost. The code needs strong contrast between the modules and the background, with the modules darker. Mid-tones like yellow or light grey on white usually fail.
Can I make a white QR code on a black background?
We advise against it. Inverted codes aren't supported by some scanner apps, so the tool warns you if the code is lighter than its background.
Are gradients safe?
Yes, if both gradient colors are dark enough against the background. The contrast check tests both ends of the gradient.
What contrast ratio should I aim for?
We show “Good contrast” at 4.5:1 or more. Between 3:1 and 4.5:1 is a caution, and below 3:1 is flagged as risky.