How to use Color converter
- Type a color like #2f6bff or rgb(47, 107, 255), or pick one.
- Read every format in the table.
- Copy the one you need.
Questions
How do I convert HEX to RGB?
Split the six digits into three pairs and read each as a number from 0 to 255. #2F6BFF is 2F=47, 6B=107, FF=255, so rgb(47, 107, 255).
Is the CMYK value print-accurate?
It's a straight mathematical conversion. Printers use color profiles, so ask your print shop for exact values.
What contrast ratio do I need?
WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
Last updated 13 November 2026.