HEX to CMYK Converter
Use this HEX to CMYK converter to turn a hex code like #3b82f6 into approximate cyan, magenta, yellow and key (black) values. It runs in your browser with nothing uploaded and no sign-up, and the CMYK output is a reference approximation, not a calibrated print proof.
Pick or paste a color
Edit any field — HEX, RGB, HSL, HSV, CMYK or OKLCH — and the rest update instantly. Copy the CSS string you need.
How to convert HEX to CMYK
Enter your hex code
Type or paste a hex value such as #3b82f6 into the HEX field.
Read the CMYK values
The cyan, magenta, yellow and key percentages update instantly, along with RGB, HSL, HSV and OKLCH.
Copy the values you need
Copy the CMYK figures as a reference for layout or design notes, keeping in mind they are an approximation.
Why convert HEX to CMYK
Screens use additive RGB light while printing uses subtractive CMYK ink, so when a design moves from web to print people often want a quick CMYK readout. This HEX to CMYK converter gives you that conversion straight from a hex code, which is handy for rough planning, mock-ups and conversations with a print shop.
The conversion is two-way with the rest of the tool, so you can also adjust the other formats and watch the CMYK estimate change. Everything is computed in your browser, so it is fast and your colors are never uploaded.
An honest note on CMYK accuracy
This CMYK value is a generic mathematical approximation. It does not use any ICC printer profile, paper stock or ink set, so the same hex code can print differently on different presses. Use these numbers for reference and planning only. For color that has to match in print, always confirm against a calibrated proof supplied by your print provider rather than relying on an on-screen estimate.
Frequently asked questions
How do I convert a hex code to CMYK?
Paste the hex value into the HEX field and read the cyan, magenta, yellow and key percentages, which update instantly.
Is the CMYK result accurate for printing?
No, it is a generic approximation with no printer color profile. Treat it as a reference and confirm color with a calibrated proof from your printer.
Why does my printer show a different color?
CMYK output depends on the press, ink and paper, none of which this tool accounts for. The on-screen estimate is only a starting point.
Can I convert CMYK back to a hex code?
Yes. The tool is two-way, so editing the CMYK fields updates the hex and other formats, though the round trip is approximate.
Is my color uploaded for the conversion?
No. The HEX to CMYK conversion runs entirely in your browser with no upload and no sign-up.