Color Converter & Contrast Checker
Convert colors between HEX, RGB, HSL, HSV, OKLCH, and CMYK. Generate a 50–900 tint and shade scale and check WCAG AA/AAA contrast. Free online color tool.
- HEX
#2563EB - RGB
rgb(37 99 235) - HSL
hsl(221 83% 53%) - HSV / HSB
hsv(221, 84%, 92%) - OKLCH
oklch(0.546 0.215 262.9) - CMYK
cmyk(84%, 58%, 0%, 8%) - Tailwind arbitrary
bg-[#2563eb]
Tints & shades
Contrast checker
Large text sample
Body text sample: the quick brown fox jumps over the lazy dog.
5.17:1
AA textAA largeAAA text
Frequently asked questions
What is OKLCH?
A perceptual color space where equal steps in lightness look equally different, which makes it great for building palettes.
What contrast ratio do I need?
WCAG AA needs 4.5:1 for normal text and 3:1 for large text; AAA needs 7:1.
Is CMYK exact for print?
No. It's a simple formula; real print colors depend on the printer's color profile.