AfoliOpen Afoli →

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

HEXRGBHSLCMYKNearest named color
#253553rgb(37, 53, 83)hsl(219, 38%, 24%)55, 36, 0, 67≈ Dark Slate Gray
#444C84rgb(68, 76, 132)hsl(233, 32%, 39%)48, 42, 0, 48≈ Dark Slate Blue
#5779B0rgb(87, 121, 176)hsl(217, 36%, 52%)51, 31, 0, 31≈ Steel Blue
#95A1B8rgb(149, 161, 184)hsl(219, 20%, 65%)19, 13, 0, 28≈ Dark Gray
#CFD7F4rgb(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
Button

Roles: background #253553, surface #444C84, text #CFD7F4, primary #95A1B8, accent #5779B0 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background8.57 : 1-76Pass
Text on a card5.62 : 1-67Pass (WCAG)
Button label4.71 : 145Pass (WCAG)
Heading on background4.71 : 1-45Pass (WCAG)
Link on a card3.09 : 1-36Fail
Accent badge on a card1.82 : 1-16Fail
Primary control on background4.71 : 1-45Pass (WCAG)

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

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

Sources and licences

Updated November 21, 2026