洋 is read yáng and means “ocean”; 详 is read xiáng and means “detailed.” They look almost the same, but they sound different and mean different things. In the HSK they first show up as 洋 in 海洋 (HSK 6) and 详 in 详细 (HSK 5).
洋yángocean
详xiángdetailed
An HSK 6 group: Both characters already appear in that level’s vocabulary.
Practice them in Wanyu: the “Look-alike characters” game alternates seeing them and telling them apart. Free.
Where will you see 洋 and 详? The HSK words that use them
In Wanyu, the “Look-alike characters” game quizzes you on these groups both ways: you see the character and say which one it is, or you see the meaning and pick the character. Free, like the whole HSK library with audio.