Convert HSL to sRGB Hex
Decode legacy comma-separated or modern CSS4 hsl() / hsla() values into exact 6- or 8-digit #Hex codes.
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
Instant HEX + RGB Readouthsl(221, 83%, 53%)#2463EB| Property | Source: HSL | Target: HEX |
|---|---|---|
| Gamut scope | sRGB (Standard Web) | sRGB (Standard Web) |
| Perceptual uniformity | No | No |
| Alpha channel support | Yes | Yes |
| Human readability | High | Medium |
| Extension / Token | .css | .css / .txt |
| Best for | Legacy CSS theme variables and simple single-hue mental tweaks in sRGB | Compact copy-paste handoff in sRGB brand guidelines and legacy CSS |
How to use HSL to Hex
HSL to Hex — cleanly inside your local browser with zero server transfers.
- Enter or pick a colorType Hex, RGB, HSL, OKLCH, or Lab — or click Screen Eyedropper and live sliders.
- Inspect math & gamutReview exact CSS Color 4 readouts, sRGB vs Display P3 status, and profile options.
- Copy, chain, or exportCopy ready CSS/JSON snippets, download binary swatch files, or pipe directly to related Colr tools.
Frequently asked questions
Does it parse turn/rad units alongside degrees?
Yes — deg, turn, rad, and unitless hue angles all normalize cleanly onto [0, 360).
Can I convert converted Hex further into OKLCH?
Click Swap or jump straight to HSL → OKLCH via the studio bar.