AfoliOpen Afoli →

Peacock Blue & Lavender

A monochrome palette of 6 colors from the Afoli gallery: #08141D, #234053, #1F649C, #8293A0, #82C3FF, #CFEAFF.

Open in the Afoli palette generator →

#08141D · Midnight Blue#234053 · Dark Slate Gray#1F649C · Steel Blue#8293A0 · Light Slate Gray#82C3FF · Light Sky Blue#CFEAFF · Lavender

Colors in this palette

HEXRGBHSLCMYKNearest named color
#08141Drgb(8, 20, 29)hsl(206, 57%, 7%)72, 31, 0, 89≈ Midnight Blue
#234053rgb(35, 64, 83)hsl(204, 41%, 23%)58, 23, 0, 67≈ Dark Slate Gray
#1F649Crgb(31, 100, 156)hsl(207, 67%, 37%)80, 36, 0, 39≈ Steel Blue
#8293A0rgb(130, 147, 160)hsl(206, 14%, 57%)19, 8, 0, 37≈ Light Slate Gray
#82C3FFrgb(130, 195, 255)hsl(209, 100%, 75%)49, 24, 0, 0≈ Light Sky Blue
#CFEAFFrgb(207, 234, 255)hsl(206, 100%, 91%)19, 8, 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 · #82C3FF
Button

Roles: background #08141D, surface #234053, text #CFEAFF, primary #82C3FF, accent #1F649C (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background14.95 : 1-91Pass
Text on a card8.74 : 1-83Pass
Button label9.93 : 168Pass (WCAG)
Heading on background9.93 : 1-66Pass
Link on a card5.80 : 1-58Pass (WCAG)
Accent badge on a card1.74 : 1-12Fail
Primary control on background9.93 : 1-66Pass

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 {
  --midnight-blue: #08141D;
  --dark-slate-gray: #234053;
  --steel-blue: #1F649C;
  --light-slate-gray: #8293A0;
  --light-sky-blue: #82C3FF;
  --lavender: #CFEAFF;
}

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

#08141D text on #CFEAFF reaches 14.95 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026