AfoliOpen Afoli →

Royal Blue & Chocolate Brown

A vivid palette of 3 colors from the Afoli gallery: #4B1916, #406CEE, #00C9A7.

Open in the Afoli palette generator →

#4B1916 · Maroon#406CEE · Royal Blue#00C9A7 · Medium Aquamarine

Colors in this palette

HEXRGBHSLCMYKNearest named color
#4B1916rgb(75, 25, 22)hsl(3, 55%, 19%)0, 67, 71, 71≈ Maroon
#406CEErgb(64, 108, 238)hsl(225, 84%, 59%)73, 55, 0, 7≈ Royal Blue
#00C9A7rgb(0, 201, 167)hsl(170, 100%, 39%)100, 0, 17, 21≈ Medium Aquamarine

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 · #4B1916
Button

Roles: background #00C9A7, surface #406CEE, text #4B1916, primary #4B1916, accent #4B1916 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background6.84 : 158Pass (WCAG)
Text on a card3.17 : 128Fail
Button label6.84 : 1-57Pass (WCAG)
Heading on background6.84 : 158Pass (WCAG)
Link on a card3.17 : 128Fail
Accent badge on a card3.17 : 128Pass (WCAG)
Primary control on background6.84 : 158Pass

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 {
  --maroon: #4B1916;
  --royal-blue: #406CEE;
  --medium-aquamarine: #00C9A7;
}

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 Royal Blue & Chocolate Brown 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 Royal Blue & Chocolate Brown can I use for text?

#4B1916 text on #00C9A7 reaches 6.84 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026