BlinkConvert

Developer tools

Color converter

Type a color in HEX, RGB or HSL, or use the picker, to see it in every format with copy buttons, plus its contrast ratio against white and black text.

Loading the tool…

How to use Color converter

  1. Type a color like #2f6bff or rgb(47, 107, 255), or pick one.
  2. Read every format in the table.
  3. 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.