Color converter: HEX, RGB and HSL

Pick a color or type any format, and the others update instantly. Runs in your browser.

Questions

How do I convert HEX to RGB?

Type or paste your HEX code (like #2457e6) and the RGB and HSL values appear instantly. You can also start from RGB or HSL.

What formats are supported?

HEX (3 or 6 digits), RGB like rgb(36, 87, 230), and HSL like hsl(223, 80%, 52%).

What do the contrast numbers mean?

They show how readable white or black text is on your color. A ratio of 4.5:1 or more meets the WCAG AA standard for normal text.

Is anything sent to a server?

No. Conversions happen in your browser.