Dark Blue Grey & Light Blue
A earthy palette of 3 colors from the Afoli gallery: #002C3C, #557D7A, #AFD8E2.
Open in the Afoli palette generator →
#002C3C · Midnight Blue#557D7A · Teal#AFD8E2 · Light Blue
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #002C3C | rgb(0, 44, 60) | hsl(196, 100%, 12%) | 100, 27, 0, 76 | ≈ Midnight Blue |
| #557D7A | rgb(85, 125, 122) | hsl(176, 19%, 41%) | 32, 0, 2, 51 | ≈ Teal |
| #AFD8E2 | rgb(175, 216, 226) | hsl(192, 47%, 79%) | 23, 4, 0, 11 | ≈ Light 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 · #557D7A
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 9.64 : 1 | -75 | Pass (WCAG) |
| Text on a card | 9.64 : 1 | -75 | Pass (WCAG) |
| Button label | 3.23 : 1 | 28 | Fail |
| Heading on background | 3.23 : 1 | -26 | Pass (WCAG) |
| Link on a card | 3.23 : 1 | -26 | Fail |
| Accent badge on a card | 3.23 : 1 | -26 | Pass (WCAG) |
| Primary control on background | 3.23 : 1 | -26 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #002C3C;
--teal: #557D7A;
--light-blue: #AFD8E2;
}
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 Dark Blue Grey & Light 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 Dark Blue Grey & Light Blue can I use for text?
#002C3C text on #AFD8E2 reaches 9.64 : 1, the strongest pair of the palette.
Similar palettes
- Petrol & Powder Blue
- Dusty Teal & Very Dark Green
- Faded Blue & Marine
- Very Dark Green & Powder Blue
- Marine & Light Blue
- Dusty Teal & Dark Blue Grey
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)