A five-color palette
Beach: a azure, sand and driftwood brown color palette
Azure and sand with a dark navy, a driftwood brown and a pale sky. Its hex codes are #2584df, #f5b981, #0c1f2c, #6c553f, #bee9ff. 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 |
|---|---|---|---|---|
#2584df | Dodger Blue (dodgerblue) | oklch(60.6% 0.162 251.9) | 5.44:1 passes | 3.86:1 fails |
#f5b981 | Burly Wood (burlywood) | oklch(82.8% 0.100 63.8) | 12.14:1 passes | 1.73:1 fails |
#0c1f2c | Midnight Blue (midnightblue) | oklch(23.0% 0.036 240.6) | 1.25:1 fails | 16.83:1 passes |
#6c553f | Saddle Brown (saddlebrown) | oklch(46.7% 0.045 65.1) | 3.01:1 fails | 6.98:1 passes |
#bee9ff | Pale Turquoise (paleturquoise) | oklch(91.1% 0.054 230.3) | 16.29:1 passes | 1.29:1 fails |
Using the palette
In Recolor the order of the colors is meaning: swatch 1 takes the page's heaviest brand color, swatch 2 the next, and the page's greys take a tint of swatch 1 (how that works is in mapping). Reorder the swatches and the page reorders with them. 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; #0c1f2c is the darkest of the five.
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: #2584df;
--color-2: #f5b981;
--color-3: #0c1f2c;
--color-4: #6c553f;
--color-5: #bee9ff;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #2584df;
--color-2: #f5b981;
--color-3: #0c1f2c;
--color-4: #6c553f;
--color-5: #bee9ff;
--color-primary: #2584df;
--color-secondary: #f5b981;
--color-accent: #0c1f2c;
}SCSS variables
$color-1: #2584df;
$color-2: #f5b981;
$color-3: #0c1f2c;
$color-4: #6c553f;
$color-5: #bee9ff;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#2584df",
"#f5b981",
"#0c1f2c",
"#6c553f",
"#bee9ff"
]
}Hex list
#2584df
#f5b981
#0c1f2c
#6c553f
#bee9ffCoolors link
https://coolors.co/2584df-f5b981-0c1f2c-6c553f-bee9ff