A five-color palette
Delft: a Delft blue, brown and cream color palette
Delft blue and a softer steel blue against a dark brown and a warm cream, as on blue and white pottery. Its hex codes are #285b87, #6583a7, #341e00, #a2c1e2, #f9e4c6. 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 |
|---|---|---|---|---|
#285b87 | Dark Slate Blue (darkslateblue) | oklch(45.8% 0.090 247.4) | 2.94:1 fails | 7.15:1 passes |
#6583a7 | Slate Grey (slategrey) | oklch(60.1% 0.065 253.4) | 5.36:1 passes | 3.92:1 fails |
#341e00 | Dark Slate Grey (darkslategrey) | oklch(25.8% 0.056 70.9) | 1.33:1 fails | 15.77:1 passes |
#a2c1e2 | Light Steel Blue (lightsteelblue) | oklch(79.9% 0.058 250.2) | 11.26:1 passes | 1.86:1 fails |
#f9e4c6 | Bisque (bisque) | oklch(92.8% 0.046 76.8) | 16.94:1 passes | 1.24:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #f9e4c6, the lightest of the five, takes the background and #341e00, 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: #285b87;
--color-2: #6583a7;
--color-3: #341e00;
--color-4: #a2c1e2;
--color-5: #f9e4c6;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #285b87;
--color-2: #6583a7;
--color-3: #341e00;
--color-4: #a2c1e2;
--color-5: #f9e4c6;
--color-primary: #285b87;
--color-secondary: #6583a7;
--color-accent: #341e00;
}SCSS variables
$color-1: #285b87;
$color-2: #6583a7;
$color-3: #341e00;
$color-4: #a2c1e2;
$color-5: #f9e4c6;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#285b87",
"#6583a7",
"#341e00",
"#a2c1e2",
"#f9e4c6"
]
}Hex list
#285b87
#6583a7
#341e00
#a2c1e2
#f9e4c6Coolors link
https://coolors.co/285b87-6583a7-341e00-a2c1e2-f9e4c6