Skip to content
ColorsGuide

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.

Example paletteUsed until you create or choose your own

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

See shades, harmonies and palettes for #264653

Converted values

  • HEX#264653
  • RGBrgb(38 70 83)
  • HSLhsl(197.3 37.2% 23.7%)
  • HSV / HSBhsv(197.3 54.2% 32.5%)
  • HWBhwb(197.3 14.9% 67.5%)
  • OKLCHoklch(37.53% 0.0438 226.2)
  • OKLABoklab(37.53% -0.0303 -0.0316)
  • CIELABlab(27.7% -9.13 -11.69)
  • CMYKcmyk(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

  1. Convert HEX to RGB and divide by 255.
  2. Black (K) = 1 − the largest channel.
  3. Cyan = (1 − R − K) ÷ (1 − K), and the same pattern for magenta (G) and yellow (B).
  4. 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.

Examples

SwatchHEXCMYK
#ffffffcmyk(0% 0% 0% 0%)
#000000cmyk(0% 0% 0% 100%)
#ff0000cmyk(0% 100% 100% 0%)
#00a86bcmyk(100% 0% 36% 34%)
#1e90ffcmyk(88% 44% 0% 0%)
#ffd700cmyk(0% 16% 100% 0%)
#800080cmyk(0% 100% 0% 50%)
#ff7f50cmyk(0% 50% 69% 0%)
#708090cmyk(22% 11% 0% 44%)
#f5f5dccmyk(0% 0% 10% 4%)
#264653cmyk(54% 16% 0% 67%)
#e76f51cmyk(0% 52% 65% 9%)

Other conversions

Was this page useful?