HEX to CMYK converter
Enter a HEX value such as #264653 to convert it to CMYK. Every other format is shown too, and the result updates as you type.
Detected HEX.
Examples: #1e90ff, rgb(30 144 255 / 50%), hsl(210 100% 56%), oklch(0.65 0.18 255), cmyk(88% 44% 0% 0%), tomato
- Name
- Dark greyish azure(descriptive)
- Alpha
- 100%
- Relative luminance
- 0.0542
- Perceived lightness (OKLCH L)
- 37.5%
- Contrast on white
- 10.08:1
- Contrast on black
- 2.08:1
Converted values
- HEX
#264653 - RGB
rgb(38 70 83) - HSL
hsl(197.3 37.2% 23.7%) - HSV / HSB
hsv(197.3 54.2% 32.5%) - HWB
hwb(197.3 14.9% 67.5%) - OKLCH
oklch(37.53% 0.0438 226.2) - OKLAB
oklab(37.53% -0.0303 -0.0316) - CIELAB
lab(27.7% -9.13 -11.69) - CMYK
cmyk(54% 16% 0% 67%)
CMYK is a naive, device-independent approximation. Real print colours depend on the ink, paper and ICC profile your printer uses, so ask your printer for a proofed conversion. HSV/HSB is not a CSS format and is shown for design apps. CIELAB uses the D50 white point, as in CSS lab().
How to convert HEX to CMYK
- Convert HEX to RGB and divide by 255.
- Black (K) = 1 − the largest channel.
- Cyan = (1 − R − K) ÷ (1 − K), and the same pattern for magenta (G) and yellow (B).
- Multiply by 100 for percentages. This is a naive approximation; use your printer's ICC profile for production work.
About HEX
A HEX code writes the red, green and blue channels of an sRGB colour as two hexadecimal digits each (00–FF), so #FF5733 means red 255, green 87, blue 51. An optional fourth pair adds transparency, and three-digit shorthand such as #F53 doubles each digit.
About CMYK
CMYK gives the cyan, magenta, yellow and black ink percentages used in four-colour printing. A conversion from screen colours without an ICC profile is only an approximation; printers use profiles for the specific press and paper.