40 in Hexadecimal 0x28 Hex (base 16) Copy 40 = 0x28 (hex) = 101000 (binary). Frequently Asked Questions What is 40 in hex?0x28.