← Back to Blog
Scientific Design· Updated · 12 min read

Okabe-Ito Palette HEX Codes for Scientific Figures

Okabe-Ito HEX codes: #E69F00 #56B4E9 #009E73 #F0E442 #0072B2 #D55E00 #CC79A7 #000000. Copy RGB values plus Prism, Python, R and MATLAB snippets.

Colorblind-safe palette

Okabe-Ito Palette

#E69F00
#56B4E9
#009E73
#F0E442
#0072B2
#D55E00
#CC79A7
#000000

Need a colorblind-safe palette for a paper figure, Prism graph, Python plot, R ggplot, or MATLAB chart? Use the Okabe-Ito palette: #E69F00, #56B4E9, #009E73, #F0E442, #0072B2, #D55E00, #CC79A7, #000000. It is also searched as the Wong colorblind palette because Bang Wong popularized the same color set in Nature Methods.

This guide gives the exact Okabe-Ito palette HEX, RGB, and HSL values, copy-ready snippets for GraphPad Prism, Python, seaborn, R, CSS, and MATLAB, WCAG contrast ratios, print caveats, and which Okabe-Ito subset to use for 2-7 categories. Or skip the manual setup and pick Okabe-Ito from the palette dropdown when generating a scientific chart in FigCanvas.

Okabe-Ito palette HEX and RGB values

ColorHEXRGB
OrangeWarm accent or first categorical group#E69F00230, 159, 0
Sky BlueReadable blue for second group#56B4E986, 180, 233
Bluish GreenGreen category without red-green pairing#009E730, 158, 115
YellowLarge filled marks, not small text#F0E442240, 228, 66
BlueStrong blue for emphasis#0072B20, 114, 178
VermilionHigh-emphasis warm category#D55E00213, 94, 0
Reddish PurplePurple category or annotation#CC79A7204, 121, 167
BlackText, outlines, or neutral category#0000000, 0, 0

The eight-color set is:

txt
#E69F00, #56B4E9, #009E73, #F0E442, #0072B2, #D55E00, #CC79A7, #000000

Use colors as labels, not decoration: keep the same category-color mapping across panels and add shape, label, or line-style cues when grayscale readability matters.

Try the palette on your own chart with the free scientific color palette generator, which includes Okabe-Ito as a preset and previews it on an editable figure.

Preview Okabe-Ito on your figure

Okabe-Ito figure examples

Data figure types where Okabe-Ito works well

Each example below applies the Okabe-Ito / Wong colorblind-safe palette directly. Use the exact HEX and RGB values from this guide when reproducing the same colors in your own figures.

Violin plot of cell size across four treatment conditions colored with the Okabe-Ito palette
Distribution

Violin plot

Four conditions in Okabe-Ito Orange, Sky Blue, Bluish Green, Yellow.

Bar chart of PD1 MFI in CD8 T cells with Okabe-Ito colors and significance annotation
Categorical

Bar chart with significance

Okabe-Ito fills paired with circle / square markers for double encoding.

Multi-series line chart of tumour volume over time using the Okabe-Ito palette
Time series

Multi-series line chart

Four arms tracked over time, each with a distinct Okabe-Ito color and marker.

Forest plot of regression coefficient estimates with the Okabe-Ito colorblind-safe palette
Estimate

Forest plot

Coefficient estimates across three groups in Orange, Sky Blue, Bluish Green.

What is the Okabe-Ito palette?

The Okabe-Ito palette is an 8-color colorblind-safe categorical palette: #E69F00, #56B4E9, #009E73, #F0E442, #0072B2, #D55E00, #CC79A7 and #000000. Masataka Okabe and Kei Ito developed it for Color Universal Design. Bang Wong later popularized the same eight-color set in Nature Methods, which is why it is also called the Wong colorblind palette. In FigCanvas it is listed as Okabe-Ito.

Use it for categories: treatment groups, cell types, experimental conditions, tissue classes, upregulated vs. downregulated genes, or legend entries. Do not use it for continuous heatmaps or expression gradients — use Viridis or another sequential palette instead.

How the Okabe-Ito palette handles color vision deficiency

Okabe and Ito designed the palette so categories remain separable across common color vision deficiencies:

  • Deuteranopia / deuteranomaly — avoids pure red-vs-green by using bluish green (#009E73) and vermilion (#D55E00).
  • Protanopia / protanomaly — vermilion is orange-leaning, so it does not collapse like a dark crimson.
  • Tritanopia — sky blue (#56B4E9) and blue (#0072B2) differ in luminance as well as hue.

Still vary marker shape, line style, or labels when the figure is dense.

Okabe-Ito palette technical reference: HSL, luminance, and WCAG contrast

Use this table to decide which Okabe-Ito colors can handle thin lines or small labels. Yellow (#F0E442) is too light on white; blue (#0072B2) is the safest colored option for small text.

ColorHSLRel. luminancevs whitevs black
Orange#E69F0041, 100%, 45%0.4162.25:19.32:1
Sky Blue#56B4E9202, 76%, 63%0.4052.31:19.11:1
Bluish Green#009E73164, 100%, 31%0.2573.42:16.13:1
Yellow#F0E44256, 85%, 60%0.7441.32:115.88:1
Blue#0072B2202, 100%, 35%0.1525.21:14.03:1
Vermilion#D55E0026, 100%, 42%0.2223.86:15.44:1
Reddish Purple#CC79A7326, 47%, 64%0.2963.03:16.93:1
Black#0000000, 0%, 0%0.00021.00:11.00:1

Relative luminance follows the WCAG 2.x sRGB formula. Contrast ratios are color-on-background; WCAG AA body text needs ≥ 4.5:1.

Rule of thumb: use Blue, Bluish Green, Vermilion, Reddish Purple, or Black for thin strokes. Reserve Yellow, Sky Blue, and Orange for filled areas or large markers.

Most figures have 2-4 groups. Use these ordered subsets before reaching for the full eight colors:

Two categories
Maximum warm-cool separation; safe under all CVD types.
#E69F00#0072B2
Three categories
Adds bluish green without red-green confusion.
#E69F00#0072B2#009E73
Four categories
Pairs orange with vermilion only when shape or position also differs.
#E69F00#0072B2#009E73#D55E00
Five categories
Sky blue separates from blue by luminance, not just hue.
#E69F00#0072B2#009E73#D55E00#56B4E9
Six categories
Reddish purple adds a distinct hue family.
#E69F00#0072B2#009E73#D55E00#56B4E9#CC79A7
Seven categories
Reserve yellow for last; pair with shape or border to stay legible.
#E69F00#0072B2#009E73#D55E00#56B4E9#CC79A7#000000

Reserve yellow (#F0E442) for last, and keep the same mapping across panels.

Use Okabe-Ito in plotting tools

Copy the same Okabe-Ito / Wong palette values into Prism, Python, R, CSS, or MATLAB. Keep one fixed order across related figures.

GraphPad Prism

In GraphPad Prism, create a custom color scheme and enter the Okabe-Ito / Wong HEX or RGB values.

A practical Prism workflow:

  1. Open the graph and select the dataset or group colors.
  2. Choose a custom color scheme.
  3. Enter the HEX values from the table above, or enter the RGB values manually.
  4. Apply colors in a consistent order across related graphs.
  5. Avoid using yellow for thin lines, small labels, or tiny markers on a white background.

You can also generate a data plot with the Okabe-Ito / Wong palette directly in FigCanvas, without entering HEX values by hand.

Python matplotlib

Set the matplotlib color cycle once:

python
okabe_ito = [
    "#E69F00",
    "#56B4E9",
    "#009E73",
    "#F0E442",
    "#0072B2",
    "#D55E00",
    "#CC79A7",
    "#000000",
]

import matplotlib.pyplot as plt

plt.rcParams["axes.prop_cycle"] = plt.cycler(color=okabe_ito)

Or pass colors directly:

python
ax.scatter(x, y, c=[okabe_ito[group] for group in group_ids])

Python seaborn

python
import seaborn as sns

okabe_ito = [
    "#E69F00",
    "#56B4E9",
    "#009E73",
    "#F0E442",
    "#0072B2",
    "#D55E00",
    "#CC79A7",
    "#000000",
]

sns.set_palette(okabe_ito)

Use this for categorical scatterplot, lineplot, barplot, or boxplot.

R ggplot2

Use scale_color_manual() or scale_fill_manual():

r
okabe_ito <- c(
  "#E69F00",
  "#56B4E9",
  "#009E73",
  "#F0E442",
  "#0072B2",
  "#D55E00",
  "#CC79A7",
  "#000000"
)

ggplot(df, aes(x, y, color = group)) +
  geom_point() +
  scale_color_manual(values = okabe_ito)

For filled geoms:

r
ggplot(df, aes(group, value, fill = group)) +
  geom_col() +
  scale_fill_manual(values = okabe_ito)

In R 4.0+, base R includes the palette:

r
okabe_ito <- palette.colors(palette = "Okabe-Ito")

For a ready-made ggplot2 scale, use ggokabeito:

r
library(ggokabeito)

ggplot(df, aes(x, y, color = group)) +
  geom_point() +
  scale_color_okabe_ito()

ggokabeito also exposes scale_fill_okabe_ito() and color reordering.

CSS variables

css
:root {
  --okabe-orange: #E69F00;
  --okabe-sky-blue: #56B4E9;
  --okabe-bluish-green: #009E73;
  --okabe-yellow: #F0E442;
  --okabe-blue: #0072B2;
  --okabe-vermilion: #D55E00;
  --okabe-reddish-purple: #CC79A7;
  --okabe-black: #000000;
}

Use CSS variables when a web article, docs page, or dashboard must reuse the same palette.

MATLAB

MATLAB expects RGB values scaled from 0 to 1:

matlab
okabe_ito = [
    230 159   0
     86 180 233
      0 158 115
    240 228  66
      0 114 178
    213  94   0
    204 121 167
      0   0   0
] / 255;

Apply rows to lines, markers, or bars, or set the global order with set(groot, 'defaultAxesColorOrder', okabe_ito).

Two Okabe-Ito colors need care in print:

  • Yellow (#F0E442) — already very light on screen, becomes even less visible on paper. If a figure must work in print, add a dark outline or pick a different color for that category.
  • Sky blue (#56B4E9) — clean on screen but loses chroma in CMYK. Use the stronger blue (#0072B2) when print fidelity matters more than light-blue branding.

For print-bound figures:

  1. Prefer vector export, or use the journal's raster DPI.
  2. Embed the sRGB profile in PNG / TIFF exports.
  3. Proof at final column width.

For journal-bound graphical abstracts, see the graphical abstract guide for sizing, DPI, and submission-ready checks.

Okabe-Ito vs Viridis vs Paul Tol vs ColorBrewer

Palette comparison showing Okabe-Ito for categorical groups and Viridis for continuous data

PaletteBest forUse with continuous data?Notes
Okabe-Ito / WongCategorical scientific figures with up to eight groupsNoStrong default for accessible group colors
ViridisHeatmaps, gradients, density, expression intensityYesBetter for continuous values than categorical groups
Paul TolScientific figures with multiple accessibility-focused schemesDepends on schemeUseful when you need more palette variants
ColorBrewerMaps, categorical charts, sequential and diverging scalesDepends on paletteBroad set of palettes, but choose carefully for accessibility

Use Okabe-Ito for categories. Use Viridis or another ordered palette for numeric intensity.

Apply Okabe-Ito directly when you generate a chart in FigCanvas

Instead of pasting HEX codes one by one into Prism, matplotlib, or ggplot2, you can pick Okabe-Ito straight from the color palette dropdown in the scientific data visualization tool. The same dropdown also offers Viridis, ColorBrewer, and other scientific palettes — switch them per figure without leaving the canvas. Palette selection is available in the data plot workflow, which is the chart type designed to support colorblind-safe palettes end-to-end.

Two ways to apply Okabe-Ito:

  1. Upload your data — drop a CSV or table into the CSV-to-chart data visualization tool, pick Okabe-Ito from the palette dropdown, and every category gets the right HEX automatically — no manual color entry.
  2. Describe the data and groups — describe what you want in plain English, choose Okabe-Ito in the Okabe-Ito color palette generator before generating, and FigCanvas builds the chart with the colorblind-safe colors already applied.

Category-to-color mapping stays consistent across panels, and labels, annotations, and shape cues remain editable in the same canvas.

Generate a chart with Okabe-Ito

Okabe-Ito as the official Color Universal Design colorblind-safe palette

This is not a community remix of arbitrary hues — it is the colorblind-safe categorical set published under the Color Universal Design (CUD) initiative by Masataka Okabe and Kei Ito. When a reviewer, co-author, or journal asks for an authoritative source, cite the CUD page directly: https://jfly.uni-koeln.de/color/. That page is the canonical origin; the Nature Methods note by Wong is the secondary reference most life-science readers cite.

"Colorblind-safe" here is a specific, testable claim rather than a label. The eight hues stay distinguishable under deuteranopia, protanopia, and tritanopia — the three common forms of color vision deficiency — because they were tuned for luminance separation as well as hue. That is why the same set is recommended across accessibility guidelines and Color Universal Design material as a safe default for categorical data, and why it is a reliable choice for scientific figures that must survive both print and color-blind review.

For a methods section, both the official Color Universal Design source and the Wong reference are listed under References below.

References

FAQ

Which Okabe-Ito colors should I pick when I only have two or three categories?

For two categories, pick orange (#E69F00) and blue (#0072B2) — they give the widest warm-cool separation and survive every common color vision deficiency. For three, add bluish green (#009E73). For four, add vermilion (#D55E00). Reserve yellow (#F0E442) for last; on a white background it has only a 1.32:1 WCAG contrast and disappears in thin lines. The Recommended subsets section above shows the full ordering up to seven groups.

Why does yellow (#F0E442) look so faded on Okabe-Ito plots?

Yellow's WCAG contrast against white is only 1.32:1, far below the 4.5:1 AA threshold, so thin strokes and small labels lose definition even on a calibrated screen. Two fixes work: give yellow shapes a dark border (#000000 at 1 px is enough), or swap yellow for a darker Okabe-Ito color when the geometry is thin (Vermilion #D55E00 or Blue #0072B2 are usually fine drop-ins).

Is the Okabe-Ito palette built into matplotlib, seaborn, or base R by default?

Not really. matplotlib and seaborn ship their own defaults (tab10, deep), so you have to set the cycle yourself with plt.rcParams["axes.prop_cycle"] or sns.set_palette() as shown in the code sections above. Base R 4.0+ does include it: palette.colors(palette = "Okabe-Ito") returns the eight HEX codes. ggplot2 does not ship a built-in scale_color_okabe_ito(); use scale_color_manual() with the vector, or install the ggokabeito package.

How do I verify that my Okabe-Ito figure is actually readable under color blindness?

Run the exported figure through a CVD simulator before submission. The most-used tools are Color Oracle (free, macOS / Windows / Linux desktop overlay), Coblis (web), and Sim Daltonism (macOS). All three simulate protanopia, deuteranopia, and tritanopia in real time. The Okabe-Ito palette is designed to survive these simulations, but only if you keep marker shapes, line styles, or labels varying alongside color — pure-color encoding can still fail when two categories happen to land on similar luminance.

What is the difference between the Okabe-Ito palette and Viridis?

Okabe-Ito is categorical — eight discrete hues optimized for distinguishing groups. Viridis is sequential — a continuous gradient optimized for ordered numeric values like expression intensity or density. Using Okabe-Ito for a heatmap makes continuous data look segmented; using Viridis for unordered groups suggests a magnitude that doesn't exist. Pick by data type, not by appearance.

Can I use the Okabe-Ito palette for volcano plots?

Yes — the Okabe-Ito palette is a strong default for volcano plots. The conventional mapping uses vermilion (#D55E00) for upregulated genes, blue (#0072B2) for downregulated, and a neutral gray (#999999) or black for non-significant points. All three pairs stay separable under deuteranopia and protanopia, which is hard to achieve with the typical red / green / gray scheme. See our 3-minute volcano plot guide or generate one directly with the volcano plot tool.

Is the Okabe-Ito palette the same as the Wong colorblind palette?

Yes — the two names refer to the same eight HEX codes. Masataka Okabe and Kei Ito published the palette under the Color Universal Design framework; Bang Wong then featured it in Nature Methods 8(6):441 (2011), which is why "Wong colorblind palette" became a common search term in life-science circles. There is no separate "Wong" set with different colors.

Is the Okabe-Ito palette colorblind-safe and officially recognized?

Yes. It is the colorblind-safe categorical palette published under the Color Universal Design (CUD) initiative, and the same eight colors were later featured by Bang Wong in Nature Methods. "Officially recognized" here means two concrete things: it comes from a documented CUD source you can cite, and its accessibility claim is verifiable — the hues stay separable under deuteranopia, protanopia, and tritanopia as long as you also vary shape or labels in dense figures.

Where is the official source for the Okabe-Ito palette?

The official source is the Color Universal Design page by Masataka Okabe and Kei Ito: https://jfly.uni-koeln.de/color/. Cite that as the primary origin. The widely referenced secondary source is Bang Wong, Points of view: Color blindness, Nature Methods 8(6):441 (2011). Both appear in the References section above; use the CUD page when a journal or reviewer asks for the authoritative source.

What are the Okabe-Ito palette hex codes?

The eight hex codes are #E69F00, #56B4E9, #009E73, #F0E442, #0072B2, #D55E00, #CC79A7, and #000000. The full table with RGB, HSL, and WCAG contrast values is in the HEX and RGB values section above, along with copy-ready snippets for Prism, Python, seaborn, R, MATLAB, and CSS.

Ready to create your first figure?

Describe what you need. Get a publication-ready figure in minutes.

Apply Okabe-Ito to your figure in FigCanvas