Color Converter
Convert colors between HEX, RGB and HSL online for free. Native color picker, live swatch and WCAG contrast ratios against black and white.
| HEX | #3F51B5 |
|---|---|
| RGB | rgb(63, 81, 181) |
| HSL | hsl(231, 48%, 48%) |
| Contrast vs black | 3.06:1AA large |
| Contrast vs white | 6.87:1AA |
About Color Converter
Enter a color as #HEX, rgb() or hsl() — or use the native picker — and instantly get every format plus a live preview swatch.
WCAG contrast ratios against black and white tell you whether text in that color meets AA/AAA accessibility levels.