31 in Hexadecimal 0x1F Hex (base 16) Copy 31 = 0x1F (hex) = 11111 (binary). Frequently Asked Questions What is 31 in hex?0x1F.