AfoliOpen Afoli →

Peru & Marine Blue

A retro palette of 6 colors from the Afoli gallery: #2A3C68, #7A543B, #4B8EB8, #CA7D45, #A9C6FC, #FFC497.

Open in the Afoli palette generator →

#2A3C68 · Dark Slate Blue#7A543B · Saddle Brown#4B8EB8 · Steel Blue#CA7D45 · Peru#A9C6FC · Light Sky Blue#FFC497 · Peach Puff

Colors in this palette

HEXRGBHSLCMYKNearest named color
#2A3C68rgb(42, 60, 104)hsl(223, 42%, 29%)60, 42, 0, 59≈ Dark Slate Blue
#7A543Brgb(122, 84, 59)hsl(24, 35%, 35%)0, 31, 52, 52≈ Saddle Brown
#4B8EB8rgb(75, 142, 184)hsl(203, 43%, 51%)59, 23, 0, 28≈ Steel Blue
#CA7D45rgb(202, 125, 69)hsl(25, 56%, 53%)0, 38, 66, 21≈ Peru
#A9C6FCrgb(169, 198, 252)hsl(219, 93%, 83%)33, 21, 0, 1≈ Light Sky Blue
#FFC497rgb(255, 196, 151)hsl(26, 100%, 80%)0, 23, 41, 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 · #7A543B
Button

Roles: background #FFC497, surface #A9C6FC, text #2A3C68, primary #7A543B, accent #4B8EB8 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background6.99 : 168Pass (WCAG)
Text on a card6.26 : 162Pass (WCAG)
Button label4.30 : 1-58Fail
Heading on background4.30 : 155Pass (WCAG)
Link on a card3.85 : 149Fail
Accent badge on a card2.08 : 130Fail
Primary control on background4.30 : 155Pass

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: #2A3C68;
  --saddle-brown: #7A543B;
  --steel-blue: #4B8EB8;
  --peru: #CA7D45;
  --light-sky-blue: #A9C6FC;
  --peach-puff: #FFC497;
}

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

#2A3C68 text on #FFC497 reaches 6.99 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026