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
HEX to RGB Converter
Convert hexadecimal web color strings (#RRGGBB) to decimal integer rgb(r, g, b) tuples instantly.
Open Tool
RGB to HEX Converter
Convert decimal RGB integer components (0-255) to uppercase 6-digit padded hexadecimal strings.
Open Tool
HEX to HSL Converter
Convert hex color codes into cylindrical coordinates: Hue degrees (0-360), Saturation %, and Lightness %.
Open Tool
HSL to HEX Converter
Transform cylindrical HSL coordinates into standardized 6-digit hexadecimal web color strings.
Open Tool