🎨 Color Converter (HEX, RGB, HSL)
Pick a colour or type a code; other formats and contrast ratios for white and black text update instantly.
Sample textSample text
Why does contrast matter?
WCAG recommends at least 4.5:1 contrast for normal text. Colour pairs below that are hard to read, especially for people with low vision.
Frequently asked questions
Are HEX and RGB the same?
They describe the same colour differently: #1D3B8F equals rgb(29, 59, 143).
What does 4.5:1 mean?
The luminance difference between text and background; WCAG AA requires at least this for normal text.