Carolina Blue & Dark Olive
A retro palette of 4 colors from the Afoli gallery: #4B3C00, #7A6294, #96AAE1, #D6E3FF.
Open in the Afoli palette generator →
#4B3C00 · Dark Slate Gray#7A6294 · Dim Gray#96AAE1 · Light Steel Blue#D6E3FF · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #4B3C00 | rgb(75, 60, 0) | hsl(48, 100%, 15%) | 0, 20, 100, 71 | ≈ Dark Slate Gray |
| #7A6294 | rgb(122, 98, 148) | hsl(269, 20%, 48%) | 18, 34, 0, 42 | ≈ Dim Gray |
| #96AAE1 | rgb(150, 170, 225) | hsl(224, 56%, 74%) | 33, 24, 0, 12 | ≈ Light Steel Blue |
| #D6E3FF | rgb(214, 227, 255) | hsl(221, 100%, 92%) | 16, 11, 0, 0 | ≈ Lavender |
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 · #96AAE1
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 8.37 : 1 | -80 | Pass |
| Text on a card | 4.07 : 1 | -63 | Fail |
| Button label | 4.69 : 1 | 47 | Pass (WCAG) |
| Heading on background | 4.69 : 1 | -48 | Pass (WCAG) |
| Link on a card | 2.28 : 1 | -30 | Fail |
| Accent badge on a card | 2.28 : 1 | -30 | Fail |
| Primary control on background | 4.69 : 1 | -48 | Pass |
CSS variables
:root {
--dark-slate-gray: #4B3C00;
--dim-gray: #7A6294;
--light-steel-blue: #96AAE1;
--lavender: #D6E3FF;
}
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 Carolina Blue & Dark Olive 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 Carolina Blue & Dark Olive can I use for text?
#4B3C00 text on #D6E3FF reaches 8.37 : 1, the strongest pair of the palette.
Similar palettes
- Bluey Purple & Lavender
- Dark Lavender & Lavender (Retro)
- Prussian Blue & Lavender
- Light Blue Grey & Charcoal Grey
- Pale Purple & Charcoal
- Greyblue & Chestnut
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)