HEX, RGB, HSL, CMYK codes, accessibility contrast, shades and harmonies: everything to choose your colours.
| Format | Example | Where to use it |
|---|---|---|
| HEX | #6D5EF0 | Websites, design software |
| RGB | rgb(109, 94, 240) | Screens, CSS, photo editing |
| HSL | hsl(247, 83%, 65%) | Making lighter or darker variants |
| CMYK | 55% 61% 0% 6% | Print (indicative value, no colour profile) |
The web accessibility guidelines (WCAG) ask for a contrast of at least 4.5:1 for normal text (level AA) and 7:1 for level AAA. Large text only needs 3:1. The tool calculates the contrast of your colour on white and on black: you know straight away whether it works for text.
On a computer, the eyedropper picks the colour of any point on your screen, when your browser supports it.
Paste the HEX code into the field: the tool immediately shows its RGB, HSL and CMYK values, each with a copy button.
At least 4.5:1 between text and background for normal text, 3:1 for a large heading. The tool shows whether your colour reaches these thresholds.
They are indicative: the exact conversion depends on the printer's colour profile. Ask for their profile for a faithful result.