Number
789
- Positive
- Odd
- Composite
- 3 digits
789 is an odd 3-digit integer and a composite number. It has 4 divisors and a digital root of 6.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value789
Digit count3
Digit sum24
Digital root6repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation3 × 263
Distinct prime factors23, 263
Number of divisors4
Sum of divisors σ(n)1,056
Aliquot sum267sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)524integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 3, 263, 7894 in total
Arithmetic
Representations
Decimal789
Binary110001010110 bits
Octal1425
Hexadecimal315
Base 36LX
Roman numeralDCCLXXXIX
In wordsseven hundred and eighty-nine
Ordinalseven hundred and eighty-ninth
Scientific notation7.89 × 10^2
Engineering notation789
Nearest landmarks
Powers & multiples
789 to the power 2622,521
789 to the power 3491,169,069
789 to the power 4387,532,395,441
789 to the power 5305,763,060,002,949
First ten multiples789, 1,578, 2,367, 3,156, 3,945, 4,734, 5,523, 6,312, 7,101, 7,890
Powers of twoBetween 2^9 (512) and 2^10 (1,024)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3Yes
Divisible by 4No, remainder 1
Divisible by 5No, remainder 4
Divisible by 6No, remainder 3
Divisible by 7No, remainder 5
Divisible by 8No, remainder 5
Divisible by 9No, remainder 6
Divisible by 10No, remainder 9
Divisible by 11No, remainder 8
Divisible by 12No, remainder 9
Divisible by 100No, remainder 89
Collatz (3n + 1) trajectory
Steps to reach 128the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps789 → 2,368 → 1,184 → 592 → 296 → 148 → 74 → 37 → 112 → 56 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage78,900%
789% as a decimal7.89
789% of 100789
789% of 1,0007,890
As a fraction of 100789/100
Read another way
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from 789
Other readings
Also reads as
#778899 (colour)
- #778899
- Blue
- Dark
- Named: Light slate grey
#778899 is the CSS colour blue with RGB values 119, 136, 153 and HSL 210°, 14%, 53%. It is a dark colour, so black text on it reaches 5.8:1 contrast (AA for normal text). The nearest named colour is Light slate grey.
Colour values
#778899#778899
HEX#778899
HEX (short)#789
RGBrgb(119, 136, 153)
RGB (0–1)0.4667, 0.5333, 0.6
RGB percentages46.7%, 53.3%, 60%
HSLhsl(210, 14.3%, 53.3%)
HSV / HSBhsv(210, 22.2%, 60%)
CMYK22.2%, 11.1%, 0%, 40%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,833,753
CSS custom property--colour: #778899;
Brightness & contrast
Relative luminance0.2383WCAG 2.x, 0 is black and 1 is white
Perceived brightness133.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.77:1
Contrast with white3.64:1WCAG normal text: Fail
Contrast with black5.77:1WCAG normal text: AA
Greyscale equivalent#868686
Inverted#887766
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text3.64:1WCAG large text: AA
Contrast with black, large text5.77:1WCAG large text: AAA
Named colours
Hue familyblue
CSS keyword usablelightslategray
Colour harmonies
Complementary#998877
Analogous#779999, #777799
Triadic#997788, #889977
Split complementary#997777, #999977
Tetradic#997799, #998877, #779977
Tints, shades & saturation
Channel breakdown
R119
G136
B153
Red119 (46.7%)
Green136 (53.3%)
Blue153 (60%)
Hue210°
Saturation (HSL)14.29%
Lightness53.33%
Dominant channelBlue
Hex per channelR 77 · G 88 · B 99
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page