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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #4B1916 | rgb(75, 25, 22) | hsl(3, 55%, 19%) | 0, 67, 71, 71 | ≈ Maroon |
| #406CEE | rgb(64, 108, 238) | hsl(225, 84%, 59%) | 73, 55, 0, 7 | ≈ Royal Blue |
| #00C9A7 | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 6.84 : 1 | 58 | Pass (WCAG) |
| Text on a card | 3.17 : 1 | 28 | Fail |
| Button label | 6.84 : 1 | -57 | Pass (WCAG) |
| Heading on background | 6.84 : 1 | 58 | Pass (WCAG) |
| Link on a card | 3.17 : 1 | 28 | Fail |
| Accent badge on a card | 3.17 : 1 | 28 | Pass (WCAG) |
| Primary control on background | 6.84 : 1 | 58 | Pass |
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
- Purpley & Dark Brown
- Azul & Dusty Orange
- Soft Green & Dark Forest Green
- Rusty Red & Light Sea Green
- Nice Blue & Powder Blue
- Windows Blue & Pale Goldenrod
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)