G
GamutDesk

Modern OKLCH to HEX Converter

Convert modern OKLCH coordinates into sRGB hexadecimal color codes with accurate gamut mapping and live preview.

100% Client-SideZero Data Collection
OKLCH Cylindrical Channels
Lightness (L: 0.0 - 1.0)53.0%
Chroma (C: 0.0 - 0.4)0.220
Hue (H: 0° - 360°)260°
Generated Hex
#005FE7
Hexadecimal Value
#005FE7
Equivalent sRGB:rgb(0, 95, 231)

Technical Specification & Mathematical Principles

Coordinates (L, C, H) are transformed into Cartesian OKLab via a = C * cos(H_rad) and b = C * sin(H_rad).

LMS cone matrices convert back to linear sRGB, followed by inverse gamma companding and clamping to [0, 255].

Frequently Asked Questions

OKLCH can represent vivid colors found in Display P3 or Rec. 2020 wide-gamut monitors. When converting into standard sRGB displays, colors outside the sRGB cube are clamped to the nearest boundary to avoid distortion.

Related Design & Color Instruments