A five-color palette
Bluebird: a petrol, sky blue and periwinkle color palette
A petrol teal and a bright sky blue with a periwinkle, a pale lavender and a dark navy. Its hex codes are #0c687c, #40c3ff, #1a293a, #5c7bd7, #d6dbff. 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 |
|---|---|---|---|---|
#0c687c | Teal (teal) | oklch(47.8% 0.083 217.9) | 3.29:1 fails | 6.39:1 passes |
#40c3ff | Deep Sky Blue (deepskyblue) | oklch(77.2% 0.140 233.0) | 10.47:1 passes | 2.01:1 fails |
#1a293a | Midnight Blue (midnightblue) | oklch(27.6% 0.038 252.3) | 1.42:1 fails | 14.77:1 passes |
#5c7bd7 | Royal Blue (royalblue) | oklch(60.3% 0.144 267.9) | 5.27:1 passes | 3.99:1 fails |
#d6dbff | Lavender (lavender) | oklch(89.9% 0.050 279.1) | 15.44:1 passes | 1.36:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #d6dbff, the lightest of the five, takes the background and #1a293a, 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: #0c687c;
--color-2: #40c3ff;
--color-3: #1a293a;
--color-4: #5c7bd7;
--color-5: #d6dbff;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #0c687c;
--color-2: #40c3ff;
--color-3: #1a293a;
--color-4: #5c7bd7;
--color-5: #d6dbff;
--color-primary: #0c687c;
--color-secondary: #40c3ff;
--color-accent: #1a293a;
}SCSS variables
$color-1: #0c687c;
$color-2: #40c3ff;
$color-3: #1a293a;
$color-4: #5c7bd7;
$color-5: #d6dbff;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#0c687c",
"#40c3ff",
"#1a293a",
"#5c7bd7",
"#d6dbff"
]
}Hex list
#0c687c
#40c3ff
#1a293a
#5c7bd7
#d6dbffCoolors link
https://coolors.co/0c687c-40c3ff-1a293a-5c7bd7-d6dbff