A five-color palette
Northern lights: a cerulean, lavender and violet color palette
A cerulean blue and a deep violet with a pale blue, a lavender and a night navy. Its hex codes are #008bbe, #bde2ff, #23263f, #b1acff, #623592. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.
Last updated
| Hex | Nearest CSS name | OKLCH | Black text, AA | White text, AA |
|---|---|---|---|---|
#008bbe | Steel Blue (steelblue) | oklch(59.9% 0.124 233.4) | 5.44:1 passes | 3.86:1 fails |
#bde2ff | Powder Blue (powderblue) | oklch(89.6% 0.056 241.9) | 15.49:1 passes | 1.36:1 fails |
#23263f | Midnight Blue (midnightblue) | oklch(27.8% 0.046 277.7) | 1.42:1 fails | 14.78:1 passes |
#b1acff | Plum (plum) | oklch(78.0% 0.117 286.1) | 10.21:1 passes | 2.06:1 fails |
#623592 | Rebecca Purple (rebeccapurple) | oklch(43.3% 0.148 303.0) | 2.44:1 fails | 8.59:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #bde2ff, the lightest of the five, takes the background and #23263f, the darkest, the text, and the page's other greys keep their place between the two; on a dark page the two swap. The other three take the page's colors in their order: the first of them its heaviest brand color, the next the one after. Reorder the swatches and the page reorders with them; mapping explains it, and the Tint choice that keeps a page's greys as they were. To keep text readable, the table above says whether black or white text reaches the WCAG AA ratio of 4.5:1 on each color.
The code below is what Recolor's own Export panel writes for this palette. The Tailwind block is a Tailwind v4 @theme block, and the Coolors link opens the same colors there. To see the palette on your own site first, follow previewing a palette on a real website.
The palette as code
CSS variables
:root {
--color-1: #008bbe;
--color-2: #bde2ff;
--color-3: #23263f;
--color-4: #b1acff;
--color-5: #623592;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #008bbe;
--color-2: #bde2ff;
--color-3: #23263f;
--color-4: #b1acff;
--color-5: #623592;
--color-primary: #008bbe;
--color-secondary: #bde2ff;
--color-accent: #23263f;
}SCSS variables
$color-1: #008bbe;
$color-2: #bde2ff;
$color-3: #23263f;
$color-4: #b1acff;
$color-5: #623592;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#008bbe",
"#bde2ff",
"#23263f",
"#b1acff",
"#623592"
]
}Hex list
#008bbe
#bde2ff
#23263f
#b1acff
#623592Coolors link
https://coolors.co/008bbe-bde2ff-23263f-b1acff-623592