AfoliOpen Afoli →

Windows Blue & Lavender

A bold palette of 3 colors from the Afoli gallery: #271A00, #5574B4, #DBE8FF.

Open in the Afoli palette generator →

#271A00 · Dark Slate Gray#5574B4 · Steel Blue#DBE8FF · Lavender

Colors in this palette

HEXRGBHSLCMYKNearest named color
#271A00rgb(39, 26, 0)hsl(40, 100%, 8%)0, 33, 100, 85≈ Dark Slate Gray
#5574B4rgb(85, 116, 180)hsl(220, 39%, 52%)53, 36, 0, 29≈ Steel Blue
#DBE8FFrgb(219, 232, 255)hsl(218, 100%, 93%)14, 9, 0, 0≈ Lavender

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 · #5574B4
Button

Roles: background #DBE8FF, surface #DBE8FF, text #271A00, primary #5574B4, accent #5574B4 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background13.77 : 190Pass
Text on a card13.77 : 190Pass
Button label3.74 : 1-62Fail
Heading on background3.74 : 158Pass (WCAG)
Link on a card3.74 : 158Fail
Accent badge on a card3.74 : 158Pass
Primary control on background3.74 : 158Pass

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: #271A00;
  --steel-blue: #5574B4;
  --lavender: #DBE8FF;
}

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 Windows Blue & Lavender 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 Windows Blue & Lavender can I use for text?

#271A00 text on #DBE8FF reaches 13.77 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026