Darken Color Tool

Enter a hex color and a percentage to reduce its HSL lightness. See the result swatch, hex code, and a 5-step strip at -10% through -50%.

Settings

%
1%99%

Quick Presets

Copied!

Result

Original

#3B82F6 hsl(217, 91%, 60%)
-20%

Darkened

#1A56CC hsl(217, 91%, 40%)

Preview Strip (-10% to -50%)

Summary

Enter a hex color and a percentage to reduce its HSL lightness. See the result swatch, hex code, and a 5-step strip at -10% through -50%.

How it works

  1. Enter or paste a valid hex color (e.g. #3B82F6) into the input field or use the color picker.
  2. Use the percentage slider or type a value (1-99) to choose how much to decrease the lightness.
  3. The tool converts the hex color to HSL, subtracts the chosen percentage from the L channel (clamped at 0%), then converts back to hex.
  4. The result swatch, original swatch, and hex code update instantly.
  5. A 5-step preview strip shows the color darkened by -10%, -20%, -30%, -40%, and -50% from the original.

Use cases

  • Generate hover or active state variants for UI buttons and links.
  • Create darker background tones that complement a brand color.
  • Build accessible darker alternatives that maintain the original hue.
  • Quickly explore how a color looks at lower lightness values before committing to a palette.
  • Produce consistent darker variants for CSS custom properties or design tokens.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu