RGB → CIE XYZ
Convert device-dependent RGB values into CIE XYZ tristimulus coordinates using the sRGB D65 matrix. Useful for color science workflows, ICC profiles, and bridging perceptual color spaces.
Preview
RGB
rgb(64, 120, 210)
CIE XYZ
X
20.459
Y
19.174
Z
63.583
CSS xyz() string
CIE 1960 UCS
u
0.164060
v
0.230633
Values follow the CIE 1960 UCS definition (u = 4X / (X + 15Y + 3Z), v = 6Y / (X + 15Y + 3Z)).
We use the standard sRGB to CIE XYZ matrix with D65 white point. Each channel is gamma-linearized before multiplying the transformation matrix. All numeric output is clamped to three decimals to keep the values readable.
XYZ values are device-independent and perfect for converting to LAB/OKLAB, calculating Delta E, or deriving chromaticity coordinates for lighting calculations.