Convert Hex to CIELab (L*a*b*)

Compute ISO/CIE D50 L*a*b* and CIE LCH coordinates from sRGB Hex using full Bradford chromatic adaptation in browser memory.

0 bytes sent
  • 100% browser-local
  • Zero server transfers
  • CSS Color 4 precision

or drop a color string, CSS/JSON snippet, or file here · Ctrl V to paste · Paste Hex, RGB, HSL, OKLCH or use Screen Eyedropper

Instant Before & After Specimen

CIE L*a*b* D50 & LCH
Input Samplecobalt.hex
#2563EB
Expected OutputCIELab
lab(44.79% 21.05 -75.6)

HEX vs CIELab

Source vs. target format specification comparison
PropertySource: HEXTarget: CIELab
Gamut scopesRGB (Standard Web)Wide Gamut (P3 / Unbounded)
Perceptual uniformityNoYes
Alpha channel supportYesYes
Human readabilityMediumMedium
Extension / Token.css / .txt.css / .csv
Best forCompact copy-paste handoff in sRGB brand guidelines and legacy CSSPrint colorimetry, spectrophotometer readings, CIEDE2000 color difference QA, and ICC bridges

How to use Hex to CIELab / LCH

Hex to CIELab / LCH — cleanly inside your local browser with zero server transfers.

  1. Enter or pick a colorType Hex, RGB, HSL, OKLCH, or Lab — or click Screen Eyedropper and live sliders.
  2. Inspect math & gamutReview exact CSS Color 4 readouts, sRGB vs Display P3 status, and profile options.
  3. Copy, chain, or exportCopy ready CSS/JSON snippets, download binary swatch files, or pipe directly to related Colr tools.

Frequently asked questions

Why is Bradford adaptation needed between Hex and CSS lab()?

sRGB uses a D65 white point whereas CSS lab() and ICC print workflows standardize on D50; omitting adaptation shifts warm yellows.

When should I use CIELab instead of OKLab?

Use CIELab for spectrophotometer QA, ICC profiles, and CIEDE2000; use OKLab for modern CSS gradients.