Okabe-Ito Palette
The Okabe-Ito palette gives you eight named colors for categories in scientific charts. Read the hex and RGB values in the table, compare the three simulated views and copy the codes or snippets for your plotting software.
| Colour | Name | HEX | RGB |
|---|---|---|---|
| Black | 0, 0, 0 | ||
| Orange | 230, 159, 0 | ||
| Sky blue | 86, 180, 233 | ||
| Bluish green | 0, 158, 115 | ||
| Yellow | 240, 228, 66 | ||
| Blue | 0, 114, 178 | ||
| Vermillion | 213, 94, 0 | ||
| Reddish purple | 204, 121, 167 |
What Is the Okabe-Ito Palette?
Masataka Okabe and Kei Ito published the set in their guide to Color Universal Design (2008), written for scientists preparing figures and slides. The Okabe-Ito palette became widely known after Bang Wong recommended the same eight colours in a 2011 Nature Methods column on colour blindness. Today it is built into R, used as the default in many plotting packages, and recommended by journals and funders that ask for accessible figures. Its strength is that it was designed from how colour-deficient vision works, not picked for looks and tested afterwards.
How the Okabe Ito Colorblind Palette Separates Groups
Green is replaced by bluish green so it does not clash with red, violet by reddish purple so it does not merge with blue, and the two blues differ in lightness. Each choice keeps the colours apart for readers who lack red or green cones, who rely more on differences in lightness and on the blue channel. The preview above shows the effect: switch to protanopia or deuteranopia and the colours change, but they stay separate.
Scientific Color PaletteOkabe Ito Wong Palette Names in Plotting Tools
Some tools call it the Wong palette after the Nature Methods column. The hex codes are the same; only the name and the order of colours can differ between packages.
Scientific Color PaletteWhere the Okabe Ito 8 Color Palette Needs Stronger Contrast
The original guide warns that thin lines and small text in yellow or sky blue are hard to read for everyone. Use them for filled areas and bars, and use blue, vermillion or orange for lines and text.
Best Font for Scientific PosterWhy Use Our Okabe-Ito Palette?
Choose from the swatch table when a project needs a known set of color values shared across programs. Copying the Okabe-Ito palette from the same reference can help you keep exact values in a notebook, a presentation and a figure exported by a co-author.
Check Okabe Ito Palette Hex Codes Against Your Theme
A slide template and a script can show similar-looking blues with different codes. Match each category to the value in the table and use that mapping through the project. For a figure made here, the separate editor includes this set for recoloring vector shapes. Check linework and annotations after applying the colors.
Scientific Color PaletteTest an Okabe Ito Color Blind Palette on Small Marks
The Okabe-Ito palette table uses broad swatches. In a chart, inspect places where lines cross or symbols overlap, where the same hues can be harder to distinguish. For closely spaced groups, identify the data marks in the legend using a distinct shape or stroke pattern as well as the color.
Figure LegendOkabe-Ito Palette Code for R, Python and CSS
Copy-ready snippets for the most common tools. Paste them once at the top of a script or notebook so every figure in the project uses the same mapping. In Excel or PowerPoint, enter the RGB values from the table under Format Shape → Fill → More Colors → Custom, then save the chart or slide as a template so you do not retype them.
Okabe-Ito Palette in R and ggplot2
Use the base R example to retrieve all eight colors and the ggplot2 example to start a manual scale with black left out. Name the assigned values by group when plots have different category orders. That way a subset of the data can keep the same colors as the complete chart.
Scientific Color PaletteOkabe Ito Color Palette Python, Excel and CSS Values
The Python snippet demonstrates a Matplotlib color cycle, and the CSS example gives named variables for a style sheet. For an Excel chart, read the table’s RGB column. If you want colors in a different sequence, copy them individually and keep the order with the chart template or script.
Scientific Color Palette# R 4.0 or later
pal <- palette.colors(palette = "Okabe-Ito")
barplot(1:8, col = pal)library(ggplot2)
okabe <- unname(palette.colors(palette = "Okabe-Ito"))[-1] # drop black
ggplot(df, aes(x, y, colour = group)) +
geom_point() +
scale_colour_manual(values = okabe)import matplotlib.pyplot as plt
okabe_ito = ["#E69F00", "#56B4E9", "#009E73", "#F0E442",
"#0072B2", "#D55E00", "#CC79A7", "#000000"]
plt.rcParams["axes.prop_cycle"] = plt.cycler(color=okabe_ito):root {
--oi-orange: #E69F00;
--oi-sky-blue: #56B4E9;
--oi-bluish-green: #009E73;
--oi-yellow: #F0E442;
--oi-blue: #0072B2;
--oi-vermillion: #D55E00;
--oi-reddish-purple: #CC79A7;
}Okabe-Ito vs Paul Tol vs viridis
All three are colourblind-safe; they suit different data. A common mistake is to use a categorical set for a heat map or a continuous map for groups, which hides patterns or invents an order that is not there. Pick the palette by the kind of variable you are colouring.
Okabe Ito Colorblind Friendly Palette for Categories
Eight strong, distinct colours for categories. Best when you have up to seven groups and want maximum separation, including in small markers.
Figure LegendOkabe-Ito or Tol Palettes for Groups?
Several qualitative sets (bright, vibrant, muted) plus sequential and diverging maps, all designed to be colour-blind safe. Useful when you need a softer look or more than eight categories.
Scientific Color PaletteWhen an Okabe Ito Color Palette Gives Way to viridis
A continuous colour map for ordered values such as heat maps. Do not use Okabe-Ito for continuous data; its colours have no natural order.
Scientific Color PaletteHow to Use the Okabe-Ito Palette in 3 Steps
Use the Okabe-Ito palette with your group list open. Assign the colors to data and reference marks before building the final chart so the mapping survives changes to the plot order.
- 01
Map the Okabe Ito 8 Color Palette to Groups
Give each group one colour and keep that mapping in every figure, table highlight and slide of the project. Black works for a control or reference line, and the strongest colours (blue, vermillion, orange) suit the groups you want readers to compare first.
Figure Legend - 02
Copy Okabe Ito Palette Codes Into Your Software
Use the snippet for your tool, or copy all hex codes with one click and paste them into your software's colour settings. In shared projects, store the list in one place, such as a theme file or a style sheet, so co-authors use the same Okabe-Ito palette.
Scientific Color Palette - 03
Proof the Okabe Ito Colorblind Palette in the Final Chart
Preview the figure with the colour-vision toggle and switch thin yellow or sky-blue lines to a darker colour from the set. Then add a second cue where groups are close together: different marker shapes, dashed and solid lines, or labels placed next to the data instead of in a legend.
Best Font for Scientific Poster