HEX to HSL converter

Convert a hex color code to HSL — hue, saturation and lightness — for easier color tweaking.

3, 6 or 8 hex digits, with or without #

Hue 0–360, saturation & lightness 0–100%

#3B82F6HEX #3B82F6HSL 217, 91%, 60%
Closest match:AzureΔE 2.1

All values for this color

HEX to HSL reference table

Common colors with their Hexadecimal and Hue, Saturation, Lightness values. Select a name to open its full color page.

ColorNamehexhsl
Black#0000000, 0%, 0%
White#FFFFFF0, 0%, 100%
Red#FF00000, 100%, 50%
Green#008000120, 100%, 25%
Blue#0000FF240, 100%, 50%
Yellow#FFFF0060, 100%, 50%
Cyan#00FFFF180, 100%, 50%
Magenta#FF00FF300, 100%, 50%
Orange#FFA50039, 100%, 50%
Purple#800080300, 100%, 25%
Pink#FFC0CB350, 100%, 88%
Brown#A52A2A0, 59%, 41%
Gray#8080800, 0%, 50%
Navy#000080240, 100%, 25%
Teal#008080180, 100%, 25%
Maroon#8000000, 100%, 25%
Olive#80800060, 100%, 25%
Lime#00FF00120, 100%, 50%
Silver#C0C0C00, 0%, 75%
Gold#FFD70051, 100%, 50%

Frequently asked questions

How do I convert hex to HSL?

The hex is read as RGB, then remapped onto a cylinder: hue is the angle 0–360°, saturation is color intensity 0–100%, and lightness is 0–100% from black to white. This tool shows the result live as you type.

Why use HSL instead of hex?

HSL is intuitive for adjusting color. To make a shade darker you lower lightness; to mute it you lower saturation — no base-16 math required. It is ideal for generating tints, shades and hover states.

Is HSL the same as HSB/HSV?

No. HSL uses lightness where 50% is the pure hue; HSV/HSB uses value/brightness where 100% is the pure hue. They share the hue angle but differ in the third axis.

Browse colors by family

Every tool feeds the reference catalog. Pick a family to explore.