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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #002B4C | rgb(0, 43, 76) | hsl(206, 100%, 15%) | 100, 43, 0, 70 | ≈ Midnight Blue |
| #4C5F73 | rgb(76, 95, 115) | hsl(211, 20%, 37%) | 34, 17, 0, 55 | ≈ Dim Gray |
| #66AAA5 | rgb(102, 170, 165) | hsl(176, 29%, 53%) | 40, 0, 3, 33 | ≈ Cadet Blue |
| #DDF1FF | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 12.48 : 1 | 91 | Pass |
| Text on a card | 12.48 : 1 | 91 | Pass |
| Button label | 5.67 : 1 | -76 | Pass |
| Heading on background | 5.67 : 1 | 72 | Pass |
| Link on a card | 5.67 : 1 | 72 | Pass (WCAG) |
| Accent badge on a card | 2.30 : 1 | 42 | Fail |
| Primary control on background | 5.67 : 1 | 72 | Pass |
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
- Petrol & Powder Blue
- Sky Blue & Navy Blue
- Bluey Grey & Dark Blue Grey
- Navy Blue & Pale Blue
- Denim & Alice Blue
- Faded Blue & Marine
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)