Color Converter
Convert colors between HEX, RGB, HSL, HSV, CMYK, LAB, LCH, Oklch and more
#6366F1Hex
HEX
#6366f1Decimal
6514417RGB
RGB
rgb(99, 102, 241)RGBA
rgba(99, 102, 241, 1)HSL
HSL
hsl(239, 84%, 67%)HSLA
hsla(239, 84%, 67%, 1)HSV / HWB
HSV
hsv(239, 59%, 95%)HWB
hwb(239 39% 5%)CMYK
CMYK
cmyk(59%, 58%, 0%, 5%)Lab / LCH
LAB
lab(50.1 38.7 -70.5)LCH
lch(50.1 80.4 298.8)Oklch
oklch(0.585 0.204 277.1)CSS
CSS Variable
--color: #6366f1Frequently Asked Questions
How do I convert HEX to RGB?
Enter your HEX code (e.g. #3b82f6) in the input field. The converter instantly shows the equivalent RGB value alongside all other supported formats.
What is Oklch and why should I use it?
Oklch is a perceptually uniform color space where color differences look consistent to the human eye. It's ideal for building accessible, systematic color palettes in modern CSS.
Can I enter a CSS color name?
Yes — type any CSS color name like 'coral', 'steelblue', or 'rebeccapurple' and the converter shows all its equivalent formats instantly.
Does the converter work offline?
All color math runs directly in your browser, so the converter works without an internet connection once the page has loaded.