It doesn't matter where you created your file, what matters is the color mode you are using. You provided a hexadecimal value of the color, so I assumed you're working within RGB color space. If you're working in CMYK, and you don't understand why your hex value has changed, that means you've been designing logos since 2014 without the basic knowledge. I encourage you to read and understand this:
https://negliadesign.com/ask-a-designer/whats-the-difference-between-pms-cmyk-rgb-and-hex/