Steel Blue & Gainsboro
A earthy palette of 5 colors from the Afoli gallery: #253553, #444C84, #5779B0, #95A1B8, #CFD7F4.
Open in the Afoli palette generator →
#253553 · Dark Slate Gray#444C84 · Dark Slate Blue#5779B0 · Steel Blue#95A1B8 · Dark Gray#CFD7F4 · Gainsboro
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #253553 | rgb(37, 53, 83) | hsl(219, 38%, 24%) | 55, 36, 0, 67 | ≈ Dark Slate Gray |
| #444C84 | rgb(68, 76, 132) | hsl(233, 32%, 39%) | 48, 42, 0, 48 | ≈ Dark Slate Blue |
| #5779B0 | rgb(87, 121, 176) | hsl(217, 36%, 52%) | 51, 31, 0, 31 | ≈ Steel Blue |
| #95A1B8 | rgb(149, 161, 184) | hsl(219, 20%, 65%) | 19, 13, 0, 28 | ≈ Dark Gray |
| #CFD7F4 | rgb(207, 215, 244) | hsl(227, 63%, 88%) | 15, 12, 0, 4 | ≈ Gainsboro |
Preview in a UI
A heading in the primary color
Body text on the background, as a page or an app would show it.
Text on a card · #95A1B8
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 8.57 : 1 | -76 | Pass |
| Text on a card | 5.62 : 1 | -67 | Pass (WCAG) |
| Button label | 4.71 : 1 | 45 | Pass (WCAG) |
| Heading on background | 4.71 : 1 | -45 | Pass (WCAG) |
| Link on a card | 3.09 : 1 | -36 | Fail |
| Accent badge on a card | 1.82 : 1 | -16 | Fail |
| Primary control on background | 4.71 : 1 | -45 | Pass (WCAG) |
CSS variables
:root {
--dark-slate-gray: #253553;
--dark-slate-blue: #444C84;
--steel-blue: #5779B0;
--dark-gray: #95A1B8;
--gainsboro: #CFD7F4;
}
How this palette was made
Afoli generated it from a fixed seed and kept it because it passes the gallery rules: every color is clearly distinct, one pair reaches 4.5 : 1 for text and the colors span a wide light-to-dark range. It is free to use (CC0).
Frequently asked questions
How do I use the Steel Blue & Gainsboro palette in CSS?
Copy the CSS variables on this page, or open the palette in the Afoli generator to export Tailwind, JSON, SVG, PNG or Adobe ASE.
Which colors of Steel Blue & Gainsboro can I use for text?
#253553 text on #CFD7F4 reaches 8.57 : 1, the strongest pair of the palette.
Similar palettes
- Marine & Pale Lilac
- Night Blue & Alice Blue (Mono)
- Prussian Blue & Lavender
- Sky Blue & Navy Blue
- Petrol & Powder Blue
- Bluey Grey & Dark Blue Grey
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)