A five-color palette
Deep sea: a navy, teal and sky blue color palette
Slate blue and teal over a near-black navy, with sky blue and a pale periwinkle for the light sections. Its hex codes are #375f90, #48989e, #001f2b, #9fceec, #d3e3ff. 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 |
|---|---|---|---|---|
#375f90 | Dark Slate Blue (darkslateblue) | oklch(47.9% 0.092 254.4) | 3.20:1 fails | 6.56:1 passes |
#48989e | Cadet Blue (cadetblue) | oklch(63.2% 0.078 201.9) | 6.26:1 passes | 3.35:1 fails |
#001f2b | Midnight Blue (midnightblue) | oklch(22.3% 0.043 227.5) | 1.23:1 fails | 17.06:1 passes |
#9fceec | Sky Blue (skyblue) | oklch(82.8% 0.065 236.6) | 12.51:1 passes | 1.68:1 fails |
#d3e3ff | Lavender (lavender) | oklch(91.3% 0.042 261.7) | 16.20:1 passes | 1.30:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #d3e3ff, the lightest of the five, takes the background and #001f2b, 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: #375f90;
--color-2: #48989e;
--color-3: #001f2b;
--color-4: #9fceec;
--color-5: #d3e3ff;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #375f90;
--color-2: #48989e;
--color-3: #001f2b;
--color-4: #9fceec;
--color-5: #d3e3ff;
--color-primary: #375f90;
--color-secondary: #48989e;
--color-accent: #001f2b;
}SCSS variables
$color-1: #375f90;
$color-2: #48989e;
$color-3: #001f2b;
$color-4: #9fceec;
$color-5: #d3e3ff;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#375f90",
"#48989e",
"#001f2b",
"#9fceec",
"#d3e3ff"
]
}Hex list
#375f90
#48989e
#001f2b
#9fceec
#d3e3ffCoolors link
https://coolors.co/375f90-48989e-001f2b-9fceec-d3e3ff