Stellar

Color Index

A star's temperature from two filters

Color index is the difference between a star's magnitudes measured through two filters — most commonly blue minus visual, written B−V. Because magnitude runs backwards, a hot blue star is brighter in B and has a small or negative B−V (about −0.33 for the hottest stars), while a cool red star is faint in B and has a large B−V (above +1.6 for the coolest). The index traces the shape of the star's blackbody spectrum, making B−V a fast, distance-independent thermometer that maps directly to effective temperature.

  • Standard indexB−V (Johnson blue − visual)
  • Filter centersB ≈ 445 nm, V ≈ 551 nm
  • Hottest O/B starsB−V ≈ −0.33 (~42,000 K)
  • The Sun (G2V)B−V ≈ +0.65 (~5,772 K)
  • Coolest M starsB−V ≈ +1.6 to +2.0 (~3,000 K)
  • Zero pointVega defines B−V ≈ 0.00 (A0V)

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

What color index actually measures

Point a telescope at a star, slide a blue filter into the beam, and you get a number: the apparent magnitude through that filter, called B. Swap in a visual (yellow-green) filter and you measure V. The color index is simply the subtraction B − V. That's the whole definition. There are no units — it is one magnitude minus another magnitude.

The trick is that magnitudes are logarithmic and inverted: a difference of one magnitude is a brightness ratio of about 2.512, and smaller numbers mean brighter. So B−V is really asking, "Through which filter does this star look brighter, and by how much?" A star that is brighter in blue than in visual has B < V, giving a negative or small B−V. A star that is fainter in blue has B > V and a large positive B−V.

Why should the answer encode temperature? Because a star radiates approximately as a blackbody. Its continuous spectrum has a characteristic shape set by one number — the effective temperature — and the wavelength of peak emission obeys Wien's law, λpeak ≈ 2.9 × 10⁶ nm·K / T. Hot stars (tens of thousands of kelvin) peak in the ultraviolet and tilt their visible output toward the blue; cool stars (a few thousand kelvin) peak in the infrared and tilt toward the red. The B and V filters sample two points on that tilted curve, and their difference reports the slope. Color index is, in effect, a one-number summary of spectral shape.

The UBV system and what the filters see

The dominant standard is the Johnson–Morgan UBV photometric system, defined in 1953 and later extended with R and I bands. Each filter is a broad bandpass — tens of nanometers wide — centered on a fixed wavelength:

FilterNameCenter (nm)Width FWHM (nm)What it samples
UUltraviolet~365~66Balmer jump, hot continuum
BBlue~445~94Blue continuum + H lines
VVisual~551~88Green-yellow, near eye peak
RRed~658~138Red continuum
IInfrared~806~149Near-IR continuum

The system is anchored to Vega, an A0V star, which is defined (to a good approximation) to have all colors equal to zero: U−B = B−V = 0.00. Every other star's color index is therefore measured relative to Vega's spectral shape. This zero-point convention is why the Sun, which is cooler and redder than Vega, comes out at a positive B−V of about +0.65 rather than zero.

Different pairs of filters give different leverage. U−B straddles the Balmer jump at 364 nm and is sensitive to surface gravity and metallicity, not just temperature. B−V is the workhorse for hot and Sun-like stars. For cool stars, where almost no blue light escapes, the differences become small and noisy, so V−R, V−I, or near-infrared indices give a cleaner temperature handle. Modern surveys use their own filter sets — Sloan g−r and Gaia BP−RP — but the principle is identical: subtract a bluer magnitude from a redder one to read the spectral slope.

From B−V to a temperature in kelvin

Color index alone doesn't give temperature directly; you need a calibration tied to real stars. A widely used closed-form fit is Ballesteros' formula (2012), derived by treating the star as a blackbody seen through the B and V bands:

T = 4600 × ( 1 / (0.92·(B−V) + 1.70) + 1 / (0.92·(B−V) + 0.62) ) K

It is accurate to a few percent across the F, G, K, and early-M range (roughly 3,000–9,000 K), where B−V changes briskly with temperature. It should not be trusted for the hottest O and B stars: above about 10,000 K the blackbody peak has moved deep into the ultraviolet, B−V barely changes, and the fit flattens out — for those stars astronomers use U−B or ultraviolet data instead. Here is how color index, spectral type, and temperature line up for main-sequence stars (from empirical calibrations, not the formula above):

Spectral typeB−VTeff (K)Apparent colorExample
O5V−0.33~42,000BlueZeta Puppis
B0V−0.30~30,000Blue-whiteSpica (B1)
A0V0.00~9,700WhiteVega
F0V+0.30~7,200Yellow-whiteCanopus (F0)
G2V+0.65~5,772YellowThe Sun
K0V+0.81~5,300OrangePollux (K0)
M0V+1.40~3,800Orange-redLacaille 8760
M4V+1.64~3,150RedRoss 128

Notice the monotonic march: as B−V rises from −0.33 to +1.64, temperature falls from about 42,000 K to roughly 3,150 K. That single column of numbers is why color index is so useful — one cheap measurement of two magnitudes pins down a star's place along the temperature sequence without ever taking a spectrum.

The catch: interstellar reddening

There is a complication that every observer must respect. Between us and the star lies interstellar dust, and dust grains scatter short-wavelength (blue) light more efficiently than long-wavelength (red) light. The starlight that reaches us is therefore both dimmed (extinction) and reddened: its measured B−V is larger than the value the star actually emits.

The shift is quantified by the color excess:

E(B−V) = (B−V)observed − (B−V)intrinsic

For a typical line of sight through the galactic plane, the total visual extinction relates to the color excess by AV ≈ 3.1 × E(B−V), where 3.1 is the standard ratio of total-to-selective extinction RV. To recover a star's true temperature you must first estimate E(B−V) — from its spectral type, from a dust map, or from a population of stars at the same distance — and subtract it. Skip that step and a heavily reddened hot O star can masquerade as a cooler, yellower star, throwing off everything from its temperature to its distance.

Color index on the color–magnitude diagram

The single most important place color index appears is the observational Hertzsprung–Russell diagram, better called the color–magnitude diagram (CMD). Instead of plotting luminosity against temperature — quantities you must derive — astronomers plot absolute (or apparent) magnitude on the vertical axis against B−V on the horizontal axis, with hot blue stars on the left and cool red stars on the right.

This is a profound shortcut. Color index and apparent magnitude are directly measured, so a CMD of a star cluster can be built from raw photometry alone. The main sequence appears as a diagonal band; the red-giant branch peels off to the upper right; white dwarfs huddle in the lower left. Because every star in a cluster sits at the same distance and reddening, the turnoff point — where stars are just leaving the main sequence — slides to redder colors as a cluster ages, giving a clock that dates globular clusters at 12–13 billion years and young open clusters at tens of millions of years.

IndexSystemBest forNotes
B−VJohnson UBVO through K starsThe classic temperature index; reddening-sensitive
U−BJohnson UBVHot stars, gravity, metalsProbes the Balmer jump; useful for two-color diagrams
V−IJohnson–CousinsCool M and L dwarfsMore leverage where B is dark
g−rSDSS / ugrizSurvey photometryCCD-native, AB magnitudes
BP−RPGaiaBillions of starsVery broad bands; Gaia's standard color

Why color index matters

  • Distance-independent thermometer. Color is a ratio of brightnesses, so it does not depend on how far away the star is — no parallax required.
  • Cheap and fast. Two filtered images give a temperature estimate without the cost of spectroscopy, scaling to billions of stars in surveys like Gaia and LSST.
  • Builds the CMD. It is the directly measured x-axis of the color–magnitude diagram, the foundation of cluster ages and stellar population studies.
  • Diagnoses dust. The gap between observed and intrinsic color, E(B−V), maps interstellar extinction along the line of sight.
  • Flags peculiar stars. Stars that fall off the normal color–temperature relation reveal reddening, binarity, or unusual chemistry.

Common misconceptions

  • "Bigger B−V means bluer." The opposite — larger B−V means redder and cooler, because magnitudes run backwards.
  • "Color index has units." No. It is one magnitude minus another, a dimensionless number.
  • "You can read temperature straight off B−V." Only after correcting for interstellar reddening; otherwise dust biases the answer.
  • "B−V works for all stars equally." For very cool stars almost no blue light escapes, so B−V saturates and redder indices like V−I are better.
  • "Color index measures the star's actual perceived color." It measures a brightness ratio between two specific bandpasses, which correlates with — but is not identical to — visual color.

Frequently asked questions

What is the color index of a star?

The color index is the difference between a star's magnitude in one passband and its magnitude in another, almost always a bluer filter minus a redder one. The standard is B−V (Johnson blue minus visual). It is a pure number with no units. Because the magnitude system runs backwards — smaller magnitudes are brighter — a star that is relatively bright in blue has a small or negative B−V, and a star that is faint in blue has a large positive B−V.

Why does a small or negative B−V mean a hot star?

A star radiates roughly like a blackbody, so its spectrum peaks at a wavelength set by its temperature (Wien's law). A hot O or B star peaks in the ultraviolet and pours out more blue light than visual light, so B (≈445 nm) is brighter than V (≈551 nm). Brighter in B means a smaller B magnitude, so B−V is small or negative — about −0.33 for the hottest main-sequence stars. A cool M star peaks in the infrared, is faint in blue, and has B−V near +1.6 to +2.0.

How do you convert B−V to temperature?

Use an empirical calibration. A handy closed-form fit is Ballesteros' formula: T = 4600 × (1/(0.92(B−V)+1.7) + 1/(0.92(B−V)+0.62)) kelvin. For B−V = 0.0 it gives about 9800 K (an A0 star); for B−V = 0.65 (the Sun) it gives about 5800 K; for B−V = 1.5 it gives about 3700 K. Precise work uses tables tied to spectral type and corrects for interstellar reddening first.

What is interstellar reddening and how does it affect color index?

Dust between us and a star scatters blue light more than red, so the star looks redder than it really is — its measured B−V is too large. The difference between observed and intrinsic color is the color excess, E(B−V) = (B−V)_observed − (B−V)_intrinsic. Astronomers estimate E(B−V) from spectral type or extinction maps and subtract it to recover the true color before reading off a temperature. The visual extinction A_V is typically about 3.1 × E(B−V).

What other color indices besides B−V are used?

U−B (ultraviolet minus blue) is sensitive to the Balmer jump and stellar surface gravity. V−R and V−I extend the leverage into the red and are better thermometers for cool stars. In modern surveys, Sloan g−r and Gaia BP−RP serve the same role. Each pair samples a different slice of the blackbody curve, so the best index depends on the star's temperature and the science goal.

Where is color index used on the HR diagram?

The observational version of the Hertzsprung–Russell diagram is the color–magnitude diagram, which plots absolute magnitude against color index instead of temperature. B−V (or BP−RP) runs along the horizontal axis with hot blue stars on the left and cool red stars on the right. The main sequence, red-giant branch, and white-dwarf sequence all fall in characteristic places, letting astronomers read off ages and distances of star clusters.