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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #002A40 | rgb(0, 42, 64) | hsl(201, 100%, 13%) | 100, 34, 0, 75 | ≈ Midnight Blue |
| #065E73 | rgb(6, 94, 115) | hsl(192, 90%, 24%) | 95, 18, 0, 55 | ≈ Dark Slate Gray |
| #617086 | rgb(97, 112, 134) | hsl(216, 16%, 45%) | 28, 16, 0, 47 | ≈ Dim Gray |
| #6D92A3 | rgb(109, 146, 163) | hsl(199, 23%, 53%) | 33, 10, 0, 36 | ≈ Light Slate Gray |
| #7EA9BD | rgb(126, 169, 189) | hsl(199, 32%, 62%) | 33, 11, 0, 26 | ≈ Dark Gray |
| #BDDEFF | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 10.71 : 1 | -81 | Pass |
| Text on a card | 5.27 : 1 | -66 | Pass (WCAG) |
| Button label | 5.90 : 1 | 50 | Pass (WCAG) |
| Heading on background | 5.90 : 1 | -49 | Pass (WCAG) |
| Link on a card | 2.90 : 1 | -34 | Fail |
| Accent badge on a card | 2.20 : 1 | -23 | Fail |
| Primary control on background | 5.90 : 1 | -49 | Pass |
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
- Bluey Grey & Dark Blue Grey
- Sky Blue & Navy Blue
- Prussian Blue & Lavender
- Marine & Lavender
- Dusty Teal & Dark Blue Grey
- Marine & Light 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)