RGB → OKLCH

Convert RGB to OKLCH

Translate RGB colors into OKLCH 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 RGB to OKLCH Colors

Convert RGB (Red, Green, Blue color model) values into OKLCH (Perceptually uniform LCH) without leaving the browser. Color.js powers every conversion so you can trust the numbers in production.

Example Conversion

Input (RGB)

rgb(59, 130, 246)

Output (OKLCH)

oklch(0.700 0.144 242.8)

A
About RGB

Red, Green, Blue color model. This color format is commonly used in digital design and interface work.

B
About OKLCH

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

Common Use Cases

Designers matching RGB specs to developer-ready OKLCH 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