Bright Olive & Night Blue
A bold palette of 5 colors from the Afoli gallery: #0E0056, #543E00, #5977C1, #A2B900, #D7E2FF.
Open in the Afoli palette generator →
#0E0056 · Midnight Blue#543E00 · Dark Slate Gray#5977C1 · Steel Blue#A2B900 · Yellow Green#D7E2FF · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #0E0056 | rgb(14, 0, 86) | hsl(250, 100%, 17%) | 84, 100, 0, 66 | ≈ Midnight Blue |
| #543E00 | rgb(84, 62, 0) | hsl(44, 100%, 16%) | 0, 26, 100, 67 | ≈ Dark Slate Gray |
| #5977C1 | rgb(89, 119, 193) | hsl(223, 46%, 55%) | 54, 38, 0, 24 | ≈ Steel Blue |
| #A2B900 | rgb(162, 185, 0) | hsl(67, 100%, 36%) | 12, 0, 100, 27 | ≈ Yellow Green |
| #D7E2FF | rgb(215, 226, 255) | hsl(224, 100%, 92%) | 16, 11, 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 · #A2B900
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 14.06 : 1 | -87 | Pass |
| Text on a card | 7.85 : 1 | -79 | Pass |
| Button label | 8.22 : 1 | 58 | Pass (WCAG) |
| Heading on background | 8.22 : 1 | -57 | Pass (WCAG) |
| Link on a card | 4.59 : 1 | -48 | Pass (WCAG) |
| Accent badge on a card | 2.34 : 1 | -21 | Fail |
| Primary control on background | 8.22 : 1 | -57 | Pass |
CSS variables
:root {
--midnight-blue: #0E0056;
--dark-slate-gray: #543E00;
--steel-blue: #5977C1;
--yellow-green: #A2B900;
--lavender: #D7E2FF;
}
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 Bright Olive & Night 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 Bright Olive & Night Blue can I use for text?
#0E0056 text on #D7E2FF reaches 14.06 : 1, the strongest pair of the palette.
Similar palettes
- Dark Lavender & Lavender (Retro)
- Cornflower & Dark Brown
- Icky Green & Very Dark Green
- Dark Indigo & Light Blue
- Night Blue & Alice Blue (Mono)
- Nice Blue & Powder Blue
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)