A five-color palette
Fog: a slate teal, ice and steel blue color palette
A gray teal and a deep teal with a pale ice blue, a light sky blue and a blue-black. Its hex codes are #578681, #baeffa, #156880, #80bff5, #212b3a. 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 |
|---|---|---|---|---|
#578681 | Slate Grey (slategrey) | oklch(58.5% 0.052 187.4) | 5.13:1 passes | 4.09:1 fails |
#baeffa | Pale Turquoise (paleturquoise) | oklch(91.9% 0.056 211.8) | 16.81:1 passes | 1.25:1 fails |
#156880 | Teal (teal) | oklch(48.2% 0.083 222.7) | 3.32:1 fails | 6.32:1 passes |
#80bff5 | Light Sky Blue (lightskyblue) | oklch(78.3% 0.101 245.4) | 10.69:1 passes | 1.96:1 fails |
#212b3a | Midnight Blue (midnightblue) | oklch(28.7% 0.031 258.3) | 1.47:1 fails | 14.27:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #baeffa, the lightest of the five, takes the background and #212b3a, 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: #578681;
--color-2: #baeffa;
--color-3: #156880;
--color-4: #80bff5;
--color-5: #212b3a;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #578681;
--color-2: #baeffa;
--color-3: #156880;
--color-4: #80bff5;
--color-5: #212b3a;
--color-primary: #578681;
--color-secondary: #baeffa;
--color-accent: #156880;
}SCSS variables
$color-1: #578681;
$color-2: #baeffa;
$color-3: #156880;
$color-4: #80bff5;
$color-5: #212b3a;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#578681",
"#baeffa",
"#156880",
"#80bff5",
"#212b3a"
]
}Hex list
#578681
#baeffa
#156880
#80bff5
#212b3aCoolors link
https://coolors.co/578681-baeffa-156880-80bff5-212b3a