AfoliOpen Afoli →

Dull Orange & Twilight Blue

A retro palette of 4 colors from the Afoli gallery: #2A3872, #4E84A8, #D58F4E, #FFD9CF.

Open in the Afoli palette generator →

#2A3872 · Dark Slate Blue#4E84A8 · Steel Blue#D58F4E · Peru#FFD9CF · Peach Puff

Colors in this palette

HEXRGBHSLCMYKNearest named color
#2A3872rgb(42, 56, 114)hsl(228, 46%, 31%)63, 51, 0, 55≈ Dark Slate Blue
#4E84A8rgb(78, 132, 168)hsl(204, 37%, 48%)54, 21, 0, 34≈ Steel Blue
#D58F4Ergb(213, 143, 78)hsl(29, 62%, 57%)0, 33, 63, 16≈ Peru
#FFD9CFrgb(255, 217, 207)hsl(12, 100%, 91%)0, 15, 19, 0≈ Peach Puff

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 · #D58F4E
Button

Roles: background #2A3872, surface #2A3872, text #FFD9CF, primary #D58F4E, accent #4E84A8 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background8.43 : 1-80Pass
Text on a card8.43 : 1-80Pass
Button label4.13 : 142Fail
Heading on background4.13 : 1-41Pass (WCAG)
Link on a card4.13 : 1-41Fail
Accent badge on a card2.72 : 1-25Fail
Primary control on background4.13 : 1-41Pass (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-blue: #2A3872;
  --steel-blue: #4E84A8;
  --peru: #D58F4E;
  --peach-puff: #FFD9CF;
}

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 Dull Orange & Twilight Blue 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 Dull Orange & Twilight Blue can I use for text?

#2A3872 text on #FFD9CF reaches 8.43 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026