Black-white photo of an artist at a canvas holding a paintbrush

Color palette presets for light and dark mode

A handcrafted color system ensures consistent, accessible color combinations across all website content, including navigation and forms.

Table of Contents

The color system’s light and dark-mode shades


Using Global Color Palettes ensures consistent styling and straightforward dark‑mode implementation. The boho color system is built on Blocksy’s default settings and extended by adding four extra ‘static’ colors.

#Primary useLightDark
1Primary brand, key accents900400
2Alternative color, hover effects700200
3Main text, paragraphs700200
4Headings, subheadings, titles900100
5Borders, dividing elements200750
6Subtle background, heroes, sections, footers150800
7Main background, default background color100900
8Light alternative, header background50850
9Static Primary, brand (equal to dark #1)400400
10Static Alternative, effects (equal to dark #2)200200
11Static Background, flyout (equal to dark #6)800800
12Static Text, (equal to light #6)150150
The demo palettes use Tailwind’s color system as a starting point.

Picking the preferred palette in the customizer

The Custom Global Color Palettes are picked in the Customizer. For each of the palettes, both a light‑mode and dark‑mode version are available. These colors are then available as CSS custom properties.

In Customiser General Color a global color palette is chosen for light and dark mode.
In Customiser > General > Color a global color palette is chosen for light and dark mode.

Custom palette presets serve as a starting point.

Palettes are created in carefully matched light/dark pairs, combining subtly tinted grayscale hues like slate, olive, and mauve with vibrant brand colors such as sky, lime, and purple.

Screenshot from the customizer color presets showing 5 diffferent example palettes, each in both light and dark mode.
Custom Color Palette Presets features both a light and a dark mode palett

Consistent, accessible colors everywhere

The color palette chosen in the Customizer is available across plugins and editors, including the WordPress block editor. This helps to ensure adequate color contrast and adherence to brand colors and design system.

The block editor color picker with palette color 9 selected.
The block editor color picker with example palette color 9 Static Sky 400 selected.

Color combinations demo and accessibility tests


Eight colors differs in light and dark mode

Brand and text colors primary (1), alternative (2), main (3) and heading (4) plus the border (5) can be combined with the available backgrounds: subtle (6), main (7), lighter (8). All of these differ between light and dark mode.

Four static colors don’t change in light and dark mode

Paragraphs with the static colors: static primary (9), static alternative (10), static background (11) and static text (12). These colors are identical in the dark- and light-mode palettes, and can be used for menus or special sections.

Testing for adequate color contrast

Contrast checking tools are built into Firefox’s Accessibility Inspector and Chromium browser’s Lighthouse Accessibility Score. A popular online checker is WebAIM WAVE’s Web Accessibility Evaluation Tool

Profilfoto af Bjarne, reduceret farvepalette

Bjarne Oldrup

WordPress developer in Southern Denmark specializing in custom themes, performance optimization, accessibility, and privacy‑friendly solutions.