Number
127
- Positive
- Odd
- Prime
- 3 digits
127 is an odd 3-digit integer and a prime number. It has 2 divisors and a digital root of 1.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value127
Digit count3
Digit sum10
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation127
Distinct prime factors1127
Number of divisors2
Sum of divisors σ(n)128
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)126integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 1272 in total
Arithmetic
Representations
Decimal127
Binary11111117 bits
Octal177
Hexadecimal7F
Base 363J
Roman numeralCXXVII
In wordsone hundred and twenty-seven
Ordinalone hundred and twenty-seventh
Scientific notation1.27 × 10^2
Engineering notation127
Nearest landmarks
Powers & multiples
127 to the power 216,129
127 to the power 32,048,383
127 to the power 4260,144,641
127 to the power 533,038,369,407
First ten multiples127, 254, 381, 508, 635, 762, 889, 1,016, 1,143, 1,270
Powers of twoBetween 2^6 (64) and 2^7 (128)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 3
Divisible by 5No, remainder 2
Divisible by 6No, remainder 1
Divisible by 7No, remainder 1
Divisible by 8No, remainder 7
Divisible by 9No, remainder 1
Divisible by 10No, remainder 7
Divisible by 11No, remainder 6
Divisible by 12No, remainder 7
Divisible by 100No, remainder 27
Collatz (3n + 1) trajectory
Steps to reach 146the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps127 → 382 → 191 → 574 → 287 → 862 → 431 → 1,294 → 647 → 1,942 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage12,700%
127% as a decimal1.27
127% of 100127
127% of 1,0001,270
As a fraction of 100127/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 127
Other readings
Also reads as
#112277 (colour)
- #112277
- Blue
- Dark
- Nearest: Midnight blue
#112277 is a blue with RGB values 17, 34, 119 and HSL 230°, 75%, 27%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#112277#112277
HEX#112277
HEX (short)#127
RGBrgb(17, 34, 119)
RGB (0–1)0.0667, 0.1333, 0.4667
RGB percentages6.7%, 13.3%, 46.7%
HSLhsl(230, 75%, 26.7%)
HSV / HSBhsv(230, 85.7%, 46.7%)
CMYK85.7%, 71.4%, 0%, 53.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,122,935
CSS custom property--colour: #112277;
Brightness & contrast
Relative luminance0.02595WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.82:1
Contrast with white13.82:1WCAG normal text: AAA
Contrast with black1.52:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#EEDD88
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.82:1WCAG large text: AAA
Contrast with black, large text1.52:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#776611
Analogous#115577, #331177
Triadic#771122, #227711
Split complementary#773311, #557711
Tetradic#771155, #776611, #117733
Tints, shades & saturation
Channel breakdown
R17
G34
B119
Red17 (6.7%)
Green34 (13.3%)
Blue119 (46.7%)
Hue230°
Saturation (HSL)75%
Lightness26.67%
Dominant channelBlue
Hex per channelR 11 · G 22 · B 77
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