Skip to main content

Color Converter — HEX, RGB, HSL Converter & Contrast Checker

HEX ↔ RGB ↔ HSL Sync
#3B82F6rgb(59, 130, 246)
HEX Code
RGB Format
HSL Format

WCAG 2.1 Contrast Check

Abc

White Text Overlay

Ratio: 3.68:1

AA: FailAAA: Fail
Abc

Black Text Overlay

Ratio: 5.71:1

AA: PassAAA: Fail

Lighter & Darker Shades

DarkerLighter

Saturation Levels

DesaturatedHighly Saturated

About This Tool

Convert color formats between HEX, RGB, and HSL values. Keep designs accessible by reviewing real-time WCAG contrast ratios for black and white text overlays on your color, and explore matching lighter/darker shades and saturation levels with single-click copying.

How to Use

  1. Use the color picker or input your color parameters in HEX, RGB, or HSL.
  2. View the live-color canvas as inputs convert and synchronize in real-time.
  3. Review the WCAG Contrast Check grid below to ensure text readability.
  4. Explore the generated color shades and saturation scales at the bottom.
  5. Click the Copy buttons next to any code format to quickly paste them in your designs.

Frequently Asked Questions