The colors comply with the 2008 flag regulation as described here: https://identity.sweden.se/en/design-elements/colour
Sweden Yellow Standard
HEX #fecb00
RGB 254, 203, 0
Sweden Blue Standard
HEX #005293

RGB 0, 82, 147
Own work
Pbjorknas