Free Converter

HSL to HEX Converter

Convert HSL color values to HEX color codes instantly — free, real-time color converter.

Hue
Saturation (%)
Lightness (%)

HEX Output

#368CE2
R:54
G:140
B:226

Copy Format

#HEX format#368CE2
hsl() formathsl(210°, 75%, 55%)
rgb() formatrgb(54, 140, 226)

About This Tool

Convert HSL (Hue, Saturation, Lightness) color values to hexadecimal codes. HSL is an intuitive color model where Hue is the color angle (0-360°), Saturation is the color intensity (0-100%), and Lightness controls how light or dark the color is (0-100%). Useful for designers who work in HSL and need hex codes for CSS.

How to Use

  1. Enter the Hue value (0-360 degrees on the color wheel).
  2. Set Saturation (0-100%) and Lightness (0-100%).
  3. The hex code is calculated and displayed in real time.
  4. Copy the hex code for use in your CSS or design tool.

Frequently Asked Questions

Why use HSL instead of hex or RGB?
HSL is more intuitive for humans. Want a darker shade? Decrease lightness. Want a muted version? Decrease saturation. These relationships aren't obvious in hex or RGB where you'd need to adjust all three channels.
What does a Hue of 0 vs 360 mean?
Both 0° and 360° are red — the hue wheel wraps around. Major hues: 0° = red, 60° = yellow, 120° = green, 180° = cyan, 240° = blue, 300° = magenta.
What happens at 0% and 100% saturation?
At 0% saturation, any hue becomes a shade of gray (determined by lightness alone). At 100% saturation, you get the purest, most vivid version of that hue.
How does lightness work?
0% lightness is always black regardless of hue/saturation. 100% is always white. 50% gives the pure, most vibrant version of the color. Values between 0-50% are darker shades, 50-100% are lighter tints.