HEX → OKLAB

Convert HEX to OKLab

Translate HEX colors into OKLab values with professional-grade color science and live previews.

Tip: Hover over the input to auto-paste from clipboard

Paste or type a color value

Auto-detects HEX, RGB, HSL, and 12+ formats

Frequently Asked Questions

Converting HEX to OKLab Colors

Convert HEX (Hexadecimal color values) values into OKLab (Perceptually uniform LAB) without leaving the browser. Color.js powers every conversion so you can trust the numbers in production.

Example Conversion

Input (HEX)

#3B82F6

Output (OKLab)

oklab(0.700 -0.066 -0.128)

A
About HEX

Hexadecimal color values. This color format is commonly used in digital design and interface work.

B
About OKLab

Perceptually uniform LAB. Converting to this format is useful for perceptually even gradients and accessibility tuning.

Common Use Cases

Designers matching HEX specs to developer-ready OKLab values
Front-end teams translating design tokens across formats
Print and production teams validating color data before export
Educators explaining how modern color models relate to legacy spaces