42 in Hexadecimal 0x2A Hex (base 16) Copy 42 = 0x2A (hex) = 101010 (binary). Frequently Asked Questions What is 42 in hex?0x2A.