AfoliOpen Afoli →

Marine & Lavender

A calm palette of 4 colors from the Afoli gallery: #002B4C, #4C5F73, #66AAA5, #DDF1FF.

Open in the Afoli palette generator →

#002B4C · Midnight Blue#4C5F73 · Dim Gray#66AAA5 · Cadet Blue#DDF1FF · Lavender

Colors in this palette

HEXRGBHSLCMYKNearest named color
#002B4Crgb(0, 43, 76)hsl(206, 100%, 15%)100, 43, 0, 70≈ Midnight Blue
#4C5F73rgb(76, 95, 115)hsl(211, 20%, 37%)34, 17, 0, 55≈ Dim Gray
#66AAA5rgb(102, 170, 165)hsl(176, 29%, 53%)40, 0, 3, 33≈ Cadet Blue
#DDF1FFrgb(221, 241, 255)hsl(205, 100%, 93%)13, 5, 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 · #4C5F73
Button

Roles: background #DDF1FF, surface #DDF1FF, text #002B4C, primary #4C5F73, accent #66AAA5 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background12.48 : 191Pass
Text on a card12.48 : 191Pass
Button label5.67 : 1-76Pass
Heading on background5.67 : 172Pass
Link on a card5.67 : 172Pass (WCAG)
Accent badge on a card2.30 : 142Fail
Primary control on background5.67 : 172Pass

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 {
  --midnight-blue: #002B4C;
  --dim-gray: #4C5F73;
  --cadet-blue: #66AAA5;
  --lavender: #DDF1FF;
}

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 & Lavender 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 & Lavender can I use for text?

#002B4C text on #DDF1FF reaches 12.48 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026