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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #271A00 | rgb(39, 26, 0) | hsl(40, 100%, 8%) | 0, 33, 100, 85 | ≈ Dark Slate Gray |
| #5574B4 | rgb(85, 116, 180) | hsl(220, 39%, 52%) | 53, 36, 0, 29 | ≈ Steel Blue |
| #DBE8FF | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 13.77 : 1 | 90 | Pass |
| Text on a card | 13.77 : 1 | 90 | Pass |
| Button label | 3.74 : 1 | -62 | Fail |
| Heading on background | 3.74 : 1 | 58 | Pass (WCAG) |
| Link on a card | 3.74 : 1 | 58 | Fail |
| Accent badge on a card | 3.74 : 1 | 58 | Pass |
| Primary control on background | 3.74 : 1 | 58 | Pass |
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
- Cool Blue & Almost Black
- Bluey Purple & Lavender
- Water Blue & Light Tan
- Dark Lavender & Lavender
- Yellowish Brown & Dark Brown
- Peacock Blue & Lavender
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)