Skip to main content
UB UtilBayHQ

Color Converter (HEX / RGB / HSL)

Convert colors between HEX, RGB, and HSL with a live color picker and WCAG contrast ratio against black and white.

100% Client-Side • Zero Server Uploads • Updated

RGB

rgb(37, 99, 235)

HSL

hsl(221, 83%, 53%)

WCAG Contrast Ratio

Text on White
5.17:1
Text on Black
4.06:1

Color Conversion & WCAG Contrast

Convert between HEX, RGB, and HSL and verify accessibility contrast ratios against pure white (#ffffff) and pure black (#000000) locally in your browser.

Frequently Asked Questions

What is a passing WCAG AA contrast ratio?

4.5:1 for normal text and 3:1 for large text.

Can I paste 3-digit HEX codes?

Yes, both 3-digit (#25f) and 6-digit (#2563eb) HEX codes are supported.