Dictionary / Vocabulary / 当たらずとも遠からず
あたらずともとおからず
near the mark; pretty close; not a bad guess
君の考えは当たらずとも遠からずだ。
Your guess is almost right.