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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #0A003E | rgb(10, 0, 62) | hsl(250, 100%, 12%) | 84, 100, 0, 76 | ≈ Midnight Blue |
| #292E6D | rgb(41, 46, 109) | hsl(236, 45%, 29%) | 62, 58, 0, 57 | ≈ Midnight Blue |
| #59648C | rgb(89, 100, 140) | hsl(227, 22%, 45%) | 36, 29, 0, 45 | ≈ Dim Gray |
| #8891C6 | rgb(136, 145, 198) | hsl(231, 35%, 65%) | 31, 27, 0, 22 | ≈ Cornflower Blue |
| #B5BCDB | rgb(181, 188, 219) | hsl(229, 35%, 78%) | 17, 14, 0, 14 | ≈ Light Steel Blue |
| #E9F0FF | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 16.97 : 1 | 96 | Pass |
| Text on a card | 10.33 : 1 | 67 | Pass (WCAG) |
| Button label | 10.77 : 1 | -91 | Pass |
| Heading on background | 10.77 : 1 | 89 | Pass |
| Link on a card | 6.55 : 1 | 60 | Pass (WCAG) |
| Accent badge on a card | 1.62 : 1 | 19 | Fail |
| Primary control on background | 10.77 : 1 | 89 | Pass |
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
- Night Blue & Alice Blue (Mono)
- Dark Slate Blue & Lavender Blush
- Perrywinkle & Almost Black
- Faded Blue & Marine
- Marine & Pale Lilac
- Light Violet & Midnight Purple
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)