← grid/D · DATA & ENCODING/Color Format Converterlive · localpick another

Color Format Converter

Convert between HEX, RGB, HSL, and OKLCH with live preview and contrast info

Color Input

Accepts HEX, RGB, HSL, OKLCH, or CSS color names

Presets
Aa#3b82f6
All Formats
HEX#3b82f6
RGBrgb(59, 130, 246)
HSLhsl(217.2, 91.2%, 59.8%)
OKLCHoklch(0.6231 0.188 259.81)
Contrast (WCAG)
Aa on White

3.68:1

AAAAAAA Large
Aa on Black

5.71:1

AAAAAAA Large
Lightness Scale

Click a shade to use it as input

DWG · D-COLOR-CONVERTER100% client-side·⌘C copy · ESC → grid