Skip to main content
Web Development

Color Converter

Enter a color in any format to instantly see all representations. Check WCAG contrast ratios for accessibility.

#6366f1

WCAG Contrast vs.

White:
Black:

Understanding color models

HEX (#RRGGBB) is the most common web format. RGB specifies red, green, and blue channels (0–255). HSL uses hue (0–360°), saturation (%), and lightness (%) which is often more intuitive. OKLCH is a perceptually-uniform model used in modern CSS — lightness (0–1), chroma, and hue angle.

WCAG contrast ratio compares relative luminance of two colors. A ratio ≥ 4.5:1 meets AA for normal text, ≥ 3:1 for large text, ≥ 7:1 for AAA.

🔒 Privacy

All conversions happen client-side. No color data leaves your browser.

Related tools