AfoliOpen Afoli →

Marine & Pale Lilac

A earthy palette of 4 colors from the Afoli gallery: #1E2759, #696188, #9B9FB3, #D2CEFF.

Open in the Afoli palette generator →

#1E2759 · Midnight Blue#696188 · Dim Gray#9B9FB3 · Dark Gray#D2CEFF · Thistle

Colors in this palette

HEXRGBHSLCMYKNearest named color
#1E2759rgb(30, 39, 89)hsl(231, 50%, 23%)66, 56, 0, 65≈ Midnight Blue
#696188rgb(105, 97, 136)hsl(252, 17%, 46%)23, 29, 0, 47≈ Dim Gray
#9B9FB3rgb(155, 159, 179)hsl(230, 14%, 65%)13, 11, 0, 30≈ Dark Gray
#D2CEFFrgb(210, 206, 255)hsl(245, 100%, 90%)18, 19, 0, 0≈ Thistle

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 · #9B9FB3
Button

Roles: background #1E2759, surface #1E2759, text #D2CEFF, primary #9B9FB3, accent #696188 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background9.41 : 1-76Pass
Text on a card9.41 : 1-76Pass
Button label5.37 : 147Pass (WCAG)
Heading on background5.37 : 1-46Pass (WCAG)
Link on a card5.37 : 1-46Pass (WCAG)
Accent badge on a card2.46 : 1-19Fail
Primary control on background5.37 : 1-46Pass

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: #1E2759;
  --dim-gray: #696188;
  --dark-gray: #9B9FB3;
  --thistle: #D2CEFF;
}

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 Marine & Pale Lilac 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 Marine & Pale Lilac can I use for text?

#1E2759 text on #D2CEFF reaches 9.41 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026