HEX to CMYK converter

To convert HEX to CMYK, turn the hex code into RGB, take K = 1 − the largest channel, then C, M and Y from what is left: #2563EB is cmyk(84%, 58%, 0%, 8%). Paste any HEX, rgb() or hsl() value below to get CMYK percentages for print.

How to convert HEX to CMYK

For #2563EB, the RGB channels are 37, 99 and 235, so K = 1 − 235/255 = 0.08. The remaining ink is split over the other channels: C = (1 − 37/255 − 0.08) / (1 − 0.08) = 0.84, M = (1 − 99/255 − 0.08) / (1 − 0.08) = 0.58 and Y = 0, so the result is cmyk(84%, 58%, 0%, 8%). Black #000000 has all channels at zero, which makes K = 1 and the result cmyk(0%, 0%, 0%, 100%).

CMYKcmyk(84%, 58%, 0%, 8%)
HEX#2563eb
RGBrgb(37, 99, 235)

Common HEX to CMYK values

ColorHEXRGBCMYK
White#FFFFFFrgb(255, 255, 255)cmyk(0%, 0%, 0%, 0%)
Black#000000rgb(0, 0, 0)cmyk(0%, 0%, 0%, 100%)
Red#EF4444rgb(239, 68, 68)cmyk(0%, 72%, 72%, 6%)
Blue#2563EBrgb(37, 99, 235)cmyk(84%, 58%, 0%, 8%)
Green#22C55Ergb(34, 197, 94)cmyk(83%, 0%, 52%, 23%)
Yellow#FACC15rgb(250, 204, 21)cmyk(0%, 18%, 92%, 2%)

Why CMYK on screen is only an approximation

This converter uses the device-independent formula for a quick RGB to CMYK estimate. Real print depends on the paper, inks and press, so print shops use ICC profiles tuned to their equipment. Treat these values as a starting point and ask your printer for a proof before a large run.

HEX to CMYK converter FAQs

How do I convert HEX to CMYK?

To convert HEX to CMYK, turn the hex code into RGB, take K = 1 − the largest channel, then C, M and Y from what is left: #2563EB is cmyk(84%, 58%, 0%, 8%). Paste any HEX, rgb() or hsl() value into the converter above to get the CMYK percentages with a live swatch.

Is the HEX to CMYK conversion exact for printing?

No, it is a device-independent starting point. The formula maps screen RGB to ideal CMYK ink percentages, but real print depends on paper, inks and the printer's ICC profile, so ask your printer for a proof before you commit a job to press.

What is the CMYK value of white and black?

White is cmyk(0%, 0%, 0%, 0%) because no ink is needed, and black is cmyk(0%, 0%, 0%, 100%) because a full black key plate covers the page. Richer print blacks often add a little C, M and Y on top of the K.

Related color tools

More color tools

Image tools

CSS generators

Image & SVG tools

Typography & units

More free tools

All free tools