The “Blender 3.0 Manual” here writes this about the “Color Picker” and “Gamma Correction”:
In Blender, the RGB and HSV/HSL values are in Scene Linear color space, and are therefore not Gamma corrected. On the contrary, Hex are automatically Gamma corrected for the sRGB Color Space. For more information, see Color Management.