Skip to tool
Legibly

All tools

Contrast fixer

Find and verify a nearby colour alternative.

Method

We search2,049 HSL lightness levels at the original hue and saturation. Among candidates that actually meet the target, we choose the smallest Euclidean distance in linear sRGB. This bounded search is not a guarantee of the global perceptual optimum. Every displayed8-bit colour is recalculated before it is marked passing.

W3C: Contrast (Minimum)

Explanations and examples