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
5.17:1
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.
Related Tools
image
SVG to PNG Converter
Convert SVG code or .svg files to crisp high-DPI PNG or WebP images locally in your browser.
image
Image Compressor & Resizer
Compress, resize, and convert PNG, JPEG, and WebP images 100% locally in your browser with zero server uploads.
developer
JSON Formatter & Validator
Format, beautify, minify, auto-fix, and validate JSON data with tree view and TypeScript/CSV export.
calculators
EMI Calculator
Calculate monthly loan EMI, total interest payable, prepayment savings, and amortization schedule instantly in your browser.