Color Code Converter
Convert colors between HEX, RGB, HSL, CMYK, and HSV live with interactive color picking, WCAG text contrast ratio calculation, and tints/shades palette generator.
Click to Pick
#3B82F6
WCAG Accessibility Contrast Check
White Text
Ratio: 3.5:1
Ratio: 3.5:1
Black Text
Ratio: 6.0:1
Ratio: 6.0:1
Tints and Shades Palette
Advertisement space (in-content)
Color Space Reference & Use Cases
| Model | Full Name | Channels | Primary Use Case |
|---|---|---|---|
| HEX | Hexadecimal | #RRGGBB (00 to FF) | HTML & CSS web stylesheets |
| RGB | Red, Green, Blue | 0–255 per channel | Digital screens, monitors & mobile displays |
| HSL | Hue, Saturation, Lightness | 0–360°, 0–100%, 0–100% | UI design, themes & color transitions |
| CMYK | Cyan, Magenta, Yellow, Key (Black) | 0–100% per ink channel | Commercial physical printing & paper design |
| HSV / HSB | Hue, Saturation, Value / Brightness | 0–360°, 0–100%, 0–100% | Digital painting & graphic arts tools |
Frequently Asked Questions
Why do RGB and CMYK colors look slightly different?
RGB is an additive color model produced with emitted light on monitors. CMYK is a subtractive color model produced by absorbing light with physical inks on paper. CMYK has a smaller color gamut than RGB, so neon and extremely vibrant digital colors cannot be reproduced identically in print.
What is WCAG AA and AAA compliance?
The Web Content Accessibility Guidelines (WCAG) require a minimum contrast ratio of 4.5:1 for normal body text (Level AA) and 7:1 for Level AAA. For large text (18pt or 14pt bold), the minimum ratio is 3:1 for AA and 4.5:1 for AAA.