AfoliOpen Afoli →

Petrol & Powder Blue

A earthy palette of 6 colors from the Afoli gallery: #002A40, #065E73, #617086, #6D92A3, #7EA9BD, #BDDEFF.

Open in the Afoli palette generator →

#002A40 · Midnight Blue#065E73 · Dark Slate Gray#617086 · Dim Gray#6D92A3 · Light Slate Gray#7EA9BD · Dark Gray#BDDEFF · Powder Blue

Colors in this palette

HEXRGBHSLCMYKNearest named color
#002A40rgb(0, 42, 64)hsl(201, 100%, 13%)100, 34, 0, 75≈ Midnight Blue
#065E73rgb(6, 94, 115)hsl(192, 90%, 24%)95, 18, 0, 55≈ Dark Slate Gray
#617086rgb(97, 112, 134)hsl(216, 16%, 45%)28, 16, 0, 47≈ Dim Gray
#6D92A3rgb(109, 146, 163)hsl(199, 23%, 53%)33, 10, 0, 36≈ Light Slate Gray
#7EA9BDrgb(126, 169, 189)hsl(199, 32%, 62%)33, 11, 0, 26≈ Dark Gray
#BDDEFFrgb(189, 222, 255)hsl(210, 100%, 87%)26, 13, 0, 0≈ Powder Blue

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 · #7EA9BD
Button

Roles: background #002A40, surface #065E73, text #BDDEFF, primary #7EA9BD, accent #6D92A3 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background10.71 : 1-81Pass
Text on a card5.27 : 1-66Pass (WCAG)
Button label5.90 : 150Pass (WCAG)
Heading on background5.90 : 1-49Pass (WCAG)
Link on a card2.90 : 1-34Fail
Accent badge on a card2.20 : 1-23Fail
Primary control on background5.90 : 1-49Pass

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: #002A40;
  --dark-slate-gray: #065E73;
  --dim-gray: #617086;
  --light-slate-gray: #6D92A3;
  --dark-gray: #7EA9BD;
  --powder-blue: #BDDEFF;
}

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 Petrol & Powder Blue 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 Petrol & Powder Blue can I use for text?

#002A40 text on #BDDEFF reaches 10.71 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026