AfoliOpen Afoli →

Night Blue & Alice Blue

A monochrome palette of 6 colors from the Afoli gallery: #0A003E, #292E6D, #59648C, #8891C6, #B5BCDB, #E9F0FF.

Open in the Afoli palette generator →

#0A003E · Midnight Blue#292E6D · Midnight Blue#59648C · Dim Gray#8891C6 · Cornflower Blue#B5BCDB · Light Steel Blue#E9F0FF · Alice Blue

Colors in this palette

HEXRGBHSLCMYKNearest named color
#0A003Ergb(10, 0, 62)hsl(250, 100%, 12%)84, 100, 0, 76≈ Midnight Blue
#292E6Drgb(41, 46, 109)hsl(236, 45%, 29%)62, 58, 0, 57≈ Midnight Blue
#59648Crgb(89, 100, 140)hsl(227, 22%, 45%)36, 29, 0, 45≈ Dim Gray
#8891C6rgb(136, 145, 198)hsl(231, 35%, 65%)31, 27, 0, 22≈ Cornflower Blue
#B5BCDBrgb(181, 188, 219)hsl(229, 35%, 78%)17, 14, 0, 14≈ Light Steel Blue
#E9F0FFrgb(233, 240, 255)hsl(221, 100%, 96%)9, 6, 0, 0≈ Alice 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 · #292E6D
Button

Roles: background #E9F0FF, surface #B5BCDB, text #0A003E, primary #292E6D, accent #8891C6 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background16.97 : 196Pass
Text on a card10.33 : 167Pass (WCAG)
Button label10.77 : 1-91Pass
Heading on background10.77 : 189Pass
Link on a card6.55 : 160Pass (WCAG)
Accent badge on a card1.62 : 119Fail
Primary control on background10.77 : 189Pass

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: #0A003E;
  --midnight-blue-2: #292E6D;
  --dim-gray: #59648C;
  --cornflower-blue: #8891C6;
  --light-steel-blue: #B5BCDB;
  --alice-blue: #E9F0FF;
}

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

#0A003E text on #E9F0FF reaches 16.97 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026