It's fine in your sentence. I don't know about more formal, but certainly more solemn, as it has the connotation not just of "consider," but considered judgment.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Gene93I personally think that deem is more formal.Yes, in the sense that it's a higher register word.