AfoliOpen Afoli →

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

HEXRGBHSLCMYKNearest named color
#002C3Crgb(0, 44, 60)hsl(196, 100%, 12%)100, 27, 0, 76≈ Midnight Blue
#557D7Argb(85, 125, 122)hsl(176, 19%, 41%)32, 0, 2, 51≈ Teal
#AFD8E2rgb(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
Button

Roles: background #002C3C, surface #002C3C, text #AFD8E2, primary #557D7A, accent #557D7A (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background9.64 : 1-75Pass (WCAG)
Text on a card9.64 : 1-75Pass (WCAG)
Button label3.23 : 128Fail
Heading on background3.23 : 1-26Pass (WCAG)
Link on a card3.23 : 1-26Fail
Accent badge on a card3.23 : 1-26Pass (WCAG)
Primary control on background3.23 : 1-26Pass (WCAG)

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: #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

Sources and licences

Updated November 21, 2026