Eight palettes in the style of figures from Nature, Science, NEJM, Lancet, JAMA, JCO, BMJ and Frontiers, with every HEX code one click away. Each palette is drawn as a real bar and line chart, checked for readers with color vision deficiency, and comes with its ggsci function for R and ready code for Python, MATLAB and CSS.
Checked November 28, 2026. HEX values from ggsci 5.2.0 by Nan Xiao.
Not official journal palettes
Journals do not publish palettes for authors. These are ggsci’s palettes inspired by plots in each journal; using one will not change how your paper is reviewed.
Bright and clean: vermilion, sky cyan, teal green and navy, followed by soft salmon, lavender grey and mint. Strong and light versions of similar hues sit side by side, so it can pair a group with its subgroup.
Colorblind check
deuteranopia
protanopia
tritanopia
#E64B35 and #DC0000 look alike with deuteranopia
#E64B35 and #7E6148 look alike with protanopia
#4DBBD5 and #8491B4 look alike with deuteranopia
#4DBBD5 and #91D1C2 look alike with tritanopia
and 3 more pairs
Safer subset (4 colors)
Code for R, Python, MATLAB and CSS
# install.packages("ggsci")
library(ggsci)
ggplot(df, aes(x, y, color = group)) + geom_point() + scale_color_npg()
ggplot(df, aes(x, y, fill = group)) + geom_col() + scale_fill_npg()
# The HEX codes: pal_npg("nrc")(10)
Science-style
R: scale_color_aaas()
10 colors, inspired by plots in Science from AAAS (ggsci “aaas”)
Dark and formal: deep indigo, pure red, forest green and aubergine, with teal and crimson after them and a grey and near black at the end. It reads well on a white page.
Colorblind check
deuteranopia
protanopia
tritanopia
#3B4992 and #631879 look alike with deuteranopia and protanopia
#3B4992 and #5F559B look alike with deuteranopia and protanopia
#008B45 and #008280 look alike with tritanopia
#008B45 and #BB0021 look alike with deuteranopia
and 1 more pairs
Safer subset (6 colors)
Code for R, Python, MATLAB and CSS
# install.packages("ggsci")
library(ggsci)
ggplot(df, aes(x, y, color = group)) + geom_point() + scale_color_aaas()
ggplot(df, aes(x, y, fill = group)) + geom_col() + scale_fill_aaas()
# The HEX codes: pal_aaas()(10)
NEJM-style
R: scale_color_nejm()
8 colors, inspired by plots in The New England Journal of Medicine (ggsci “nejm”)
Clinical and calm: brick red, medium blue, orange and green lead, then lavender, steel blue, pale yellow and pink. It suits trial results and survival curves, where four or five groups are common.
Colorblind check
deuteranopia
protanopia
tritanopia
#0072B5 and #20854E look alike with tritanopia
#0072B5 and #7876B1 look alike with deuteranopia and protanopia
#0072B5 and #EE4C97 look alike with protanopia
#E18727 and #EE4C97 look alike with tritanopia
and 1 more pairs
Safer subset (5 colors)
Code for R, Python, MATLAB and CSS
# install.packages("ggsci")
library(ggsci)
ggplot(df, aes(x, y, color = group)) + geom_point() + scale_color_nejm()
ggplot(df, aes(x, y, fill = group)) + geom_col() + scale_fill_nejm()
# The HEX codes: pal_nejm()(8)
Lancet-style
R: scale_color_lancet()
9 colors, inspired by plots in Lancet Oncology (ggsci “lancet”)
High contrast: dark blue against bright red, then green, cyan blue and purple, a light peach, crimson, light grey and near black. Good when two arms or groups must stand apart.
Colorblind check
deuteranopia
protanopia
tritanopia
#ED0000 and #42B540 look alike with deuteranopia
#42B540 and #0099B4 look alike with tritanopia
#0099B4 and #925E9F look alike with deuteranopia
Safer subset (7 colors)
Code for R, Python, MATLAB and CSS
# install.packages("ggsci")
library(ggsci)
ggplot(df, aes(x, y, color = group)) + geom_point() + scale_color_lancet()
ggplot(df, aes(x, y, fill = group)) + geom_col() + scale_fill_lancet()
# The HEX codes: pal_lancet("lanonc")(9)
JAMA-style
R: scale_color_jama()
7 colors, inspired by plots in The Journal of the American Medical Association (ggsci “jama”)
Muted and warm: dark slate, ochre, cerulean, brick red, sage, slate purple and warm grey. Seven colors with no neon tones, which suits forest plots and quiet multi-panel figures.
Colorblind check
deuteranopia
protanopia
tritanopia
#00A1D5 and #79AF97 look alike with tritanopia
Safer subset (6 colors)
Code for R, Python, MATLAB and CSS
# install.packages("ggsci")
library(ggsci)
ggplot(df, aes(x, y, color = group)) + geom_point() + scale_color_jama()
ggplot(df, aes(x, y, fill = group)) + geom_col() + scale_fill_jama()
# The HEX codes: pal_jama()(7)
JCO-style
R: scale_color_jco()
10 colors, inspired by plots in the Journal of Clinical Oncology (ggsci “jco”)
Blue and mustard first, then grey, coral, light blue, navy, olive, charcoal, dark red and slate blue. The blue and yellow opening pair stays distinct for most color-blind readers.
Colorblind check
deuteranopia
protanopia
tritanopia
#0073C2 and #4A6990 look alike with deuteranopia and protanopia and tritanopia
#CD534C and #8F7700 look alike with deuteranopia
Safer subset (8 colors)
Code for R, Python, MATLAB and CSS
# install.packages("ggsci")
library(ggsci)
ggplot(df, aes(x, y, color = group)) + geom_point() + scale_color_jco()
ggplot(df, aes(x, y, fill = group)) + geom_col() + scale_fill_jco()
# The HEX codes: pal_jco()(10)
BMJ-style
R: scale_color_bmj()
9 colors, inspired by the BMJ living style guide (ggsci “bmj”)
Brand colors rather than plot colors: blue, amber, magenta, purple, orange, green, aqua, red and grey, all fairly saturated. Lively for slides and posters; check the color-blind result before using all nine.
Colorblind check
deuteranopia
protanopia
tritanopia
#2A6EBB and #7D5CC6 look alike with deuteranopia and protanopia
#F0AB00 and #69BE28 look alike with deuteranopia and protanopia
#C50084 and #747678 look alike with deuteranopia
#E37222 and #69BE28 look alike with deuteranopia
and 1 more pairs
Safer subset (6 colors)
Code for R, Python, MATLAB and CSS
# install.packages("ggsci")
library(ggsci)
ggplot(df, aes(x, y, color = group)) + geom_point() + scale_color_bmj()
ggplot(df, aes(x, y, fill = group)) + geom_col() + scale_fill_bmj()
# The HEX codes: pal_bmj()(9)
Frontiers-style
R: scale_color_frontiers()
10 colors, inspired by the Frontiers logo (ggsci “frontiers”)
A full rainbow: crimson, tangerine, yellow, lime, green, turquoise, blue, navy and plum, ending in grey. In hue order, so neighbours are similar; good for ordered categories, weak for unrelated ones.
Colorblind check
deuteranopia
protanopia
tritanopia
#F39200 and #EFD500 look alike with deuteranopia
#F39200 and #95C11F look alike with deuteranopia and protanopia
#EFD500 and #95C11F look alike with protanopia
#31B7BC and #0094CD look alike with tritanopia
and 1 more pairs
Safer subset (6 colors)
Code for R, Python, MATLAB and CSS
# install.packages("ggsci")
library(ggsci)
ggplot(df, aes(x, y, color = group)) + geom_point() + scale_color_frontiers()
ggplot(df, aes(x, y, fill = group)) + geom_col() + scale_fill_frontiers()
# The HEX codes: pal_frontiers()(10)
The check simulates each dichromacy at full strength with the Machado et al. (2009) model and flags pairs closer than CIEDE2000 10. The safer subset keeps the colors in order and drops any that clashes with one already kept.
Source of the HEX values and color names: ggsci R/palettes.R (GPL-3), checked November 28, 2026.
Compare the palettes at a glance
Look-alike pairs come from the colorblind check above; fewer is better.
Pick by mood rather than by journal: JAMA- and NEJM-style are calm, Nature- and Lancet-style are bright, Science-style is dark and formal.
Use the colors in their order. The first four or five are the most distinct; later ones repeat a hue in a lighter or darker tone.
With more than five groups, use the safer subset and add markers, line styles or direct labels.
Keep one palette across every figure of the paper, with the same color for the same group each time.
For filled boxes in a method diagram, use light tints of these colors or a conference palette instead.
What journals actually ask about color
Author guidelines care about legibility, not about particular colors.
Nature asks for an accessible color palette (the Wong palette is its example), no colored text, and RGB files.
Science asks that red and green are not used together and that parts are not told apart by colors of similar hue.
Cell Press asks for RGB color and says red and green should not be used together.
Elsevier suggests a colorblind safe palette, magenta in place of red in red and green fluorescence images, and three or four colors per artwork.
Check the guide of your target journal before you submit, and preview the finished figure in the colorblind simulator.
Questions about journal color palettes
Is there an official Nature color palette?
No. Nature does not give authors a fixed set of colors. Its figure guide asks for an accessible color palette and names the Wong palette from Nature Methods (2011) as an example, which is the same eight colors as Okabe-Ito. The Nature-style palette on this page is the npg palette of the ggsci R package, inspired by plots in Nature Reviews Cancer. If you want the colors Nature itself points to, use Okabe-Ito from our colorblind friendly palettes.
Will a journal-style palette help my paper get accepted?
No. No journal asks for these colors, and editors do not check whether a figure matches the journal’s look. What journals do check is that a figure reads clearly: colors that stay apart for color-blind readers, no red against green, no colored text, and the right color mode and resolution. A journal-style palette only gives your figures a familiar, consistent look.
How do I use these palettes in R?
Install the ggsci package with install.packages("ggsci"), load it with library(ggsci), and add the scale to a ggplot: scale_color_npg() for lines and points, scale_fill_npg() for bars and areas. The other palettes work the same way (aaas, nejm, lancet, jama, jco, bmj, frontiers). pal_npg("nrc")(10) returns the ten HEX codes as a vector. The R tab under each palette shows the code.
Can I use these palettes in Python?
Yes. For matplotlib, set the HEX list as the color cycle; the Python tab under each palette gives the two lines to paste. For plotnine, the ggsci package for Python (pip install ggsci) has the same scale functions as the R package, such as scale_color_npg(). Seaborn takes the HEX list too: sns.set_palette([...]).
Which journal palette is the most colorblind friendly?
In our check (deuteranopia, protanopia and tritanopia simulated at full strength, pairs closer than CIEDE2000 10 counted), the best are JAMA-style (one look-alike pair among 7 colors), JCO-style (2 look-alike pairs among 10 colors), Lancet-style (3 look-alike pairs among 9 colors). Nature-style has the most look-alike pairs (7). None of the eight is safe in full; use the safer subset shown under each palette, add markers or labels, or switch to Okabe-Ito when color carries the meaning.
Do I need permission or a credit to use these colors?
No permission is needed to use a color in your figure, and no journal restricts colors. The HEX values come from the ggsci R package by Nan Xiao, which is licensed under GPL-3; that license covers the package code. If you drew your plots with ggsci, citing the package in your methods is good practice.
Why do several palettes end in grey or near black?
The figures they were taken from use a neutral for controls, reference lines or an “other” group, and ggsci keeps it at the end. Use that last color for exactly those roles, not for a main group, so the colored series stand out against it.