Seamlessly convert between professional color models. Perfect for UI/UX designers, print specialists, and developers. Get instant preview and accurate mathematical transformations.
Current color — Steel blue, moderate saturation
CMYK Gamut: Within printable range
Conversion accuracy: All values follow IEC 61966-2-1 (sRGB) and ISO 12647-2 (CMYK) standards. XYZ computed using CIE 1931 2° standard observer matrix.
Pro tip: For brand consistency, use XYZ values to communicate color across different devices and lighting conditions.
A color space is a mathematical representation of colors as tuples of numbers. The most common models serve different purposes: RGB for screens, CMYK for printing, HSL for intuitive design, and CIE XYZ as a device-independent standard. This converter implements precise formulas based on international standards (ITU-R BT.601, ISO 2846, and CIE 1931).
? Core transformation principle: every color space is derived from RGB via linear or non-linear transforms. For example, RGB → HSL uses:
Hue = atan2(√3·(G-B), 2R-G-B) (with normalization); Saturation = (max-min)/max; Lightness = (max+min)/2
CIE XYZ is the foundation of most color management systems. The conversion uses a linear matrix derived from the RGB primaries and whitepoint (D65). Our converter applies the sRGB-to-XYZ transformation (IEC 61966-2-1). Designers and color scientists rely on XYZ to guarantee consistent color across monitors, printers, and projectors. The displayed XYZ values here follow the standard observer 2°.
| Color Model | Standard / Formula | Applications |
|---|---|---|
| RGB (sRGB) | IEC 61966-2-1, gamma 2.2 | Monitors, mobile, web |
| HEX | #RRGGBB (6-digit) | CSS, design systems |
| HSL | Hue 0–360°, Saturation/Lightness 0–100% | UI theming, color pickers |
| CMYK | ISO 12647-2 (SWOP), GCR/UCR | Commercial printing, packaging |
| CIE XYZ | CIE 1931 2° observer, D65 illuminant | Color management, scientific analysis |
All matrix coefficients are derived from the official sRGB specification. CMYK conversion uses a simple black generation model (UCR) suitable for most design workflows.