2 in Hexadecimal 0x2 Hex (base 16) Copy 2 = 0x2 (hex) = 10 (binary). Frequently Asked Questions What is 2 in hex?0x2.