Marine & Papaya Whip
A dark palette of 5 colors from the Afoli gallery: #040423, #081C46, #1B2E60, #48441A, #FBF2CB.
Open in the Afoli palette generator →
#040423 · Black#081C46 · Midnight Blue#1B2E60 · Midnight Blue#48441A · Dark Slate Gray#FBF2CB · Papaya Whip
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #040423 | rgb(4, 4, 35) | hsl(240, 79%, 8%) | 89, 89, 0, 86 | ≈ Black |
| #081C46 | rgb(8, 28, 70) | hsl(221, 79%, 15%) | 89, 60, 0, 73 | ≈ Midnight Blue |
| #1B2E60 | rgb(27, 46, 96) | hsl(223, 56%, 24%) | 72, 52, 0, 62 | ≈ Midnight Blue |
| #48441A | rgb(72, 68, 26) | hsl(55, 47%, 19%) | 0, 6, 64, 72 | ≈ Dark Slate Gray |
| #FBF2CB | rgb(251, 242, 203) | hsl(49, 86%, 89%) | 0, 4, 19, 2 | ≈ Papaya Whip |
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 · #1B2E60
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 17.83 : 1 | 98 | Pass |
| Text on a card | 17.83 : 1 | 98 | Pass |
| Button label | 11.62 : 1 | -93 | Pass |
| Heading on background | 11.62 : 1 | 91 | Pass |
| Link on a card | 11.62 : 1 | 91 | Pass |
| Accent badge on a card | 8.82 : 1 | 85 | Pass |
| Primary control on background | 11.62 : 1 | 91 | Pass |
CSS variables
:root {
--black: #040423;
--midnight-blue: #081C46;
--midnight-blue-2: #1B2E60;
--dark-slate-gray: #48441A;
--papaya-whip: #FBF2CB;
}
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 Marine & Papaya Whip 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 Marine & Papaya Whip can I use for text?
#040423 text on #FBF2CB reaches 17.83 : 1, the strongest pair of the palette.
Similar palettes
- Marine & Bisque
- Midnight Purple & Beige
- Dark Olive & Beige
- Chestnut & Gainsboro
- Marine & Lavender (Dark)
- Mud Brown & Pale Sky Blue
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)