Color Converter & Contrast Preview
Convert colors between HEX, RGB, and HSL with live swatches and WCAG contrast check.
🔒 Runs in your browser. Your input is never uploaded.
Color Model Formats
HEX#2563EB
RGBrgb(37, 99, 235)
HSLhsl(221, 83%, 53%)
WCAG 2.2 AA Contrast Ratios
White Text✓ Passes AA
Black TextFail (< 4.5:1)
How it works
Parses hex, rgb, and hsl color models with two-way mathematical conversions. Computes relative luminance and WCAG 2.2 contrast ratios against dark and light surfaces.
Zero Telemetry: You can verify this utility's client-only execution anytime by opening your browser's Developer Tools (Network tab). No keystrokes, payloads, or clipboard contents leave your device.
Frequently asked questions
What WCAG contrast threshold is required for AA?
WCAG 2.2 AA requires at least 4.5:1 for normal text (under 18pt/24px) and at least 3.0:1 for large text and UI components.