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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #2A3872 | rgb(42, 56, 114) | hsl(228, 46%, 31%) | 63, 51, 0, 55 | ≈ Dark Slate Blue |
| #4E84A8 | rgb(78, 132, 168) | hsl(204, 37%, 48%) | 54, 21, 0, 34 | ≈ Steel Blue |
| #D58F4E | rgb(213, 143, 78) | hsl(29, 62%, 57%) | 0, 33, 63, 16 | ≈ Peru |
| #FFD9CF | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 8.43 : 1 | -80 | Pass |
| Text on a card | 8.43 : 1 | -80 | Pass |
| Button label | 4.13 : 1 | 42 | Fail |
| Heading on background | 4.13 : 1 | -41 | Pass (WCAG) |
| Link on a card | 4.13 : 1 | -41 | Fail |
| Accent badge on a card | 2.72 : 1 | -25 | Fail |
| Primary control on background | 4.13 : 1 | -41 | Pass (WCAG) |
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
- Peru & Marine Blue
- Yellowy Brown & Dark Grey Blue
- Steel Blue & Gainsboro
- Faded Purple & Pale Pink
- Light Brown & Navy Blue
- Prussian 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)