Introduction
Even large text can become unreadable when its color blends too closely with the background. Legibility isn’t just about size, it’s also about contrast. When the difference in brightness or shade between text and its surroundings is too subtle, players may struggle to read critical in-game information.
Globally, over 2.2 billion people live with vision impairments, colorblindness alone affects approximately 300 million. For these players, what might be “a little hard to read” for someone with 20/20 vision can quickly become completely inaccessible. This means a significant portion of players depend on strong text contrast for a playable experience. Low contrast not only affects readability, it can also lead to critical in-game mistakes, impacting the overall experience.
In Part 1 of this guide, we covered how to measure text height and recommended sizes. Now in Part 2, we’re focusing on contrast. By the end of this guide, you’ll have the knowledge of what contrast is, target contrast ratios, and how measure it using free tools like Colour Contrast Analyser. By understanding contrast ratios and how to apply them, you’ll be better equipped to make your game’s text legible in all conditions.
What is Contrast Ratio?
Contrast ratio is a measure of the difference in brightness between two colors, typically your text color and its background. The ratio is derived from the relative luminance or light intensity of the colors. Without diving too deep into color science, the more text color “pops” off the background, the higher the contrast ratio.
This value is expressed as a ratio, ranging from 1:1 up to 21:1
- 1:1 means no contrast at all, the two colors are nearly identical such as white text on a white background.
- 21:1 is the maximum contrast achievable, pure black against pure white, hex codes #000 and #FFF.
All color combinations fall somewhere in between these extremes. For example, light grey text on a black background might have a contrast around 10:1, where a lighter grey could be only 3:1. The higher the first number, the greater the contrast difference.

It’s important to note that contrast is about light vs. dark, not necessarily about different hues. Red text on a green background can still have high contrast if the red is very dark and the green is very light, or vice versa. Text is typically low contrast when colors have similar brightness. This is why contrast ratio is a more reliable measure of text visibility than just “choose opposite colors,” as it quantifies the intensity difference.
Target Contrast Ratios for Accessible Text
What contrast ratios should you aim for? There are established guidelines that ensure text is readable by the widest audience. Here are the key targets:
| Text Size | Body Height | Minimum Contrast Ratio | Enhanced Contrast Ratio |
|---|---|---|---|
| Standard Text | Below 36px at 1080p | 4.5:1 | 7:1 |
| Large Text | Above 36px at 1080p | 3:1 | 4.5:1 |
- Minimum 4.5:1 for standard text: A contrast ratio of 4.5:1 is the widely accepted minimum for standard-sized text and iconography. This level compensates for the contrast sensitivity loss experienced by most people with mild visual impairments. Impairments roughly equivalent to 20/40 vision, meaning they see the same level of detail at 20 feet as someone with 20/20 vision can at 40 feet. In practice, 4.5:1 ensures that the majority of users, including many with reduced vision, can comfortably read the text.
- The Accessible Games Initiative’s Developer-Facing Requirements for Clear Text specifies supporting a minimum contrast ratio of 4.5:1 against all backgrounds for text including all front-end menus (settings, maps, and inventory screens) and all heads-up display (HUD) text such as on-demand radial menus, health bars, waypoints, or in-world UI.
- Minimum 3:1 for large text: If your text or icons are large, a slightly lower contrast can be acceptable. From the Xbox Accessibility Guidelines on Contrast, a 3:1 ratio is the recommended minimum for large-scale text and iconography 36 pixels or larger at 1080p. The idea is that bigger text and symbols are easier to read even if the contrast is lower, because the letter shapes and symbols are more distinguished.
- Aim for 7:1 for extra clarity (best practice): A contrast ratio of 7:1 or higher is considered “enhanced” accessibility, meeting the AAA level in WCAG guidelines. A 7:1 contrast ratio is recommended for users with low vision. This is around 20/80 vision, meaning they see at 20 feet what someone with 20/20 vision can see from 80 feet. Aiming for a ratio of 7:1 for crucial text provides a buffer of clarity. It also helps players in very poor viewing conditions such as glare on the screen or playing on a projector.
- A 4.5:1 ratio is considered enhanced contrast for large text and icons that are 36 pixels or larger at 1080p.
- The Xbox Accessibility Feature Tag for Text Contrast Options promotes having an option to enable high contrast (equal or exceeding 7:1) for all UI text elements against their background.
To put these numbers in perspective, compare the following colors to pure white (#FFF):

- Black (#000) – 21:1 highest contrast, strongest legibility
- Dark Blue (#124B66) – 9.4:1 enhanced contrast
- Medium Blue (#1D79A5) – 4.8:1 average contrast, acceptable for text
- Light Blue (#259CD4) – 3.3:1 low contrast, acceptable for large text and icons
- Pastel Blue (#ADDBF0) – 1.5:1 nearly lowest contrast, illegible for any text
High Contrast Design Tip
In games with text overlaying artwork or 3D scenes, a common trick is to add a high-contrast outline or bounding box completely surrounding the text, increasing the contrast against any background. For instance, light-colored text with a black outline can achieve well above 7:1 contrast against both light and dark backgrounds.
Conversely, shading only the bottom half of text or using drop shadows does not provide this effect. The unshaded top half of the text remains subject to background color variation, which can easily result in inaccessible contrast.

Measuring Contrast Using CCA (Colour Contrast Analyser)
To take the guesswork out of contrast, developers can use tools to measure the ratio. There are many applications available, a popular free one is the Colour Contrast Analyser (CCA) by TPGi. Here’s how you can use CCA (or similar tools) to quickly test your game’s text colors:
- Download: Install Colour Contrast Analyser. CCA is a lightweight application available for Windows and Mac. Once installed, launch CCA; it opens a small window over your game or screenshots.
- Pick the text color: In the CCA interface, you’ll see a section for “Foreground Color.” Click the eyedropper icon in that section, then click on the text in your game (or a screenshot of your game). This will capture the text color value. You can also manually input color hex codes if you know them, but using the eyedropper on the actual rendered text ensures you have the exact color, including any effects.
- Pick the background color: Next, click the eyedropper in the “Background Color” section of CCA and then click on the background area behind that text. For example, if it’s a HUD element over the game world (with color variation), select the lightest color present. CCA will display both color swatches and their hex codes in the tool.
- View the contrast ratio result: CCA will instantly calculate and show the contrast ratio for the two colors. It appears as a number below the swatches, for example: “Contrast Ratio: 4.5:1.” The tool also aligns with WCAG, informing you whether the pairing meets recommended contrast ratios for normal text (4.5:1), large text and icons (3:1), and enhanced text (7:1 for normal, 4.5:1 for large).
Color Selection Tip
When zoomed into text and backgrounds, the text may appear blurred around the edges due to anti-aliasing. When selecting the foreground text color, it’s best to choose the most solid central color and ignore the anti-aliased pixels. Letters with straight vertical strokes such as i, k, and l are ideal for selection since they have fewer anti-aliased curves.

Colorblindness Simulation
Another useful feature CCA provides is “Colour Blindness Simulation”, found in the View tab or by selecting (Ctrl + B). This opens a window simulating multiple types of colorblindness for your selected color pair. Since contrast ratio is based on luminance, simulated colorblind contrast ratios generally do not differ significantly from non-simulated pairings. However, some combinations, such as red-black, remain particularly problematic.
It’s best to avoid relying on color alone and to strive for high contrast. That way, even when colors are perceived differently, the text still stands out.
For more information on colorblindness and problematic color pairings, check out our resource: How We See Color: Colorblindness and Inclusive Design.

Conclusion
By following the text size and contrast practices from this series, you’re not only supporting players with visual impairments, you’re likely improving the experience for all players. Ensuring both optimal text size and sufficient contrast is a cornerstone of accessible game design.
If you need guidance or an accessibility audit of your project, reach out to us. We’re happy to assist in making your game readable, user-friendly, and compliant with accessibility standards, so that you can focus on delivering a great gaming experience to everyone.
Thank you for reading our two-part series on measuring text for accessibility! By tackling size and contrast, we’ve covered fundamental aspects of text readability. Keep these lessons in mind as you design, and you’ll be well on your way to building interfaces that players appreciate.
