A five-color palette
Steel: a steel blue, petrol and ice color palette
A steel blue and a petrol navy with a gray blue, a pale ice and a slate. Its hex codes are #9bbfd2, #002e3f, #5b97bb, #c5e8fb, #3a5767. 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 |
|---|---|---|---|---|
#9bbfd2 | Light Steel Blue (lightsteelblue) | oklch(78.5% 0.047 231.1) | 10.78:1 passes | 1.95:1 fails |
#002e3f | Midnight Blue (midnightblue) | oklch(28.2% 0.056 229.1) | 1.46:1 fails | 14.36:1 passes |
#5b97bb | Cadet Blue (cadetblue) | oklch(65.0% 0.083 236.3) | 6.59:1 passes | 3.19:1 fails |
#c5e8fb | Pale Turquoise (paleturquoise) | oklch(91.2% 0.045 231.7) | 16.31:1 passes | 1.29:1 fails |
#3a5767 | Dark Slate Grey (darkslategrey) | oklch(44.1% 0.043 233.2) | 2.74:1 fails | 7.67:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #c5e8fb, the lightest of the five, takes the background and #002e3f, 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: #9bbfd2;
--color-2: #002e3f;
--color-3: #5b97bb;
--color-4: #c5e8fb;
--color-5: #3a5767;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #9bbfd2;
--color-2: #002e3f;
--color-3: #5b97bb;
--color-4: #c5e8fb;
--color-5: #3a5767;
--color-primary: #9bbfd2;
--color-secondary: #002e3f;
--color-accent: #5b97bb;
}SCSS variables
$color-1: #9bbfd2;
$color-2: #002e3f;
$color-3: #5b97bb;
$color-4: #c5e8fb;
$color-5: #3a5767;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#9bbfd2",
"#002e3f",
"#5b97bb",
"#c5e8fb",
"#3a5767"
]
}Hex list
#9bbfd2
#002e3f
#5b97bb
#c5e8fb
#3a5767Coolors link
https://coolors.co/9bbfd2-002e3f-5b97bb-c5e8fb-3a5767