Skip to content
ZeroServer.tools

HEX to LAB Converter

Convert a HEX color to CIE LAB (L*a*b*, D65 illuminant) with a live preview.

CSS lab()
lab(55.63% 17.54 -64.42)
L* (Lightness)
55.63
0 (black) to 100 (white)
a* (green–red)
17.54
negative = green, positive = red
b* (blue–yellow)
-64.42
negative = blue, positive = yellow
#3b82f6
55.63, 17.54, -64.42
RGB 59, 130, 246

How HEX to LAB conversion works

CIE L*a*b* (often written LAB) is a color space designed to be perceptually uniform — equal numeric distances between two LAB colors correspond much more closely to equal perceived differences than RGB or HEX do. That makes it the standard choice for color-difference calculations (Delta E), print/design color matching, and image-processing pipelines.

This tool converts your HEX color to sRGB, removes the sRGB gamma curve to get linear RGB, transforms it to CIE XYZ using the D65 standard illuminant, and finally derives L* (lightness), a* (green–red axis) and b* (blue–yellow axis) using the standard CIE 15:2004 formulas — entirely in your browser.

Need a different color space? Try HEX to HSL, HEX to CMYK, or the all-in-one color converter.

Private & free — this tool runs entirely in your browser.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Converters tools