AfoliOpen Afoli →

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

HEXRGBHSLCMYKNearest named color
#4B3C00rgb(75, 60, 0)hsl(48, 100%, 15%)0, 20, 100, 71≈ Dark Slate Gray
#7A6294rgb(122, 98, 148)hsl(269, 20%, 48%)18, 34, 0, 42≈ Dim Gray
#96AAE1rgb(150, 170, 225)hsl(224, 56%, 74%)33, 24, 0, 12≈ Light Steel Blue
#D6E3FFrgb(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
Button

Roles: background #4B3C00, surface #7A6294, text #D6E3FF, primary #96AAE1, accent #96AAE1 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background8.37 : 1-80Pass
Text on a card4.07 : 1-63Fail
Button label4.69 : 147Pass (WCAG)
Heading on background4.69 : 1-48Pass (WCAG)
Link on a card2.28 : 1-30Fail
Accent badge on a card2.28 : 1-30Fail
Primary control on background4.69 : 1-48Pass

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-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

Sources and licences

Updated November 21, 2026