Hospital Green & Dark Blue Grey
A pastel palette of 4 colors from the Afoli gallery: #3E3354, #E3BBE3, #A4E0B1, #E0E1FF.
Open in the Afoli palette generator →
#3E3354 · Dark Slate Gray#E3BBE3 · Thistle#A4E0B1 · Light Green#E0E1FF · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #3E3354 | rgb(62, 51, 84) | hsl(260, 24%, 26%) | 26, 39, 0, 67 | ≈ Dark Slate Gray |
| #E3BBE3 | rgb(227, 187, 227) | hsl(300, 42%, 81%) | 0, 18, 0, 11 | ≈ Thistle |
| #A4E0B1 | rgb(164, 224, 177) | hsl(133, 49%, 76%) | 27, 0, 21, 12 | ≈ Light Green |
| #E0E1FF | rgb(224, 225, 255) | hsl(238, 100%, 94%) | 12, 12, 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 · #A4E0B1
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 9.07 : 1 | -82 | Pass |
| Text on a card | 9.07 : 1 | -82 | Pass |
| Button label | 7.68 : 1 | 71 | Pass (WCAG) |
| Heading on background | 7.68 : 1 | -72 | Pass |
| Link on a card | 7.68 : 1 | -72 | Pass (WCAG) |
| Accent badge on a card | 6.91 : 1 | -66 | Pass |
| Primary control on background | 7.68 : 1 | -72 | Pass |
CSS variables
:root {
--dark-slate-gray: #3E3354;
--thistle: #E3BBE3;
--light-green: #A4E0B1;
--lavender: #E0E1FF;
}
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 Hospital Green & Dark Blue Grey 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 Hospital Green & Dark Blue Grey can I use for text?
#3E3354 text on #E0E1FF reaches 9.07 : 1, the strongest pair of the palette.
Similar palettes
- Pink & Charcoal
- Tiffany Blue & Charcoal Grey
- Light Blue Grey & Charcoal Grey
- Light Lavendar & Charcoal Grey
- Light Blue & Charcoal
- Sand & Charcoal
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)