Warm Blue & Medium Green
A vivid palette of 4 colors from the Afoli gallery: #212855, #425BCE, #15B054, #8CB4FF.
Open in the Afoli palette generator →
#212855 · Midnight Blue#425BCE · Royal Blue#15B054 · Medium Sea Green#8CB4FF · Light Sky Blue
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #212855 | rgb(33, 40, 85) | hsl(232, 44%, 23%) | 61, 53, 0, 67 | ≈ Midnight Blue |
| #425BCE | rgb(66, 91, 206) | hsl(229, 59%, 53%) | 68, 56, 0, 19 | ≈ Royal Blue |
| #15B054 | rgb(21, 176, 84) | hsl(144, 79%, 39%) | 88, 0, 52, 31 | ≈ Medium Sea Green |
| #8CB4FF | rgb(140, 180, 255) | hsl(219, 100%, 77%) | 45, 29, 0, 0 | ≈ Light Sky 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 · #15B054
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 6.73 : 1 | -57 | Pass (WCAG) |
| Text on a card | 6.73 : 1 | -57 | Pass (WCAG) |
| Button label | 4.92 : 1 | 45 | Pass (WCAG) |
| Heading on background | 4.92 : 1 | -44 | Pass (WCAG) |
| Link on a card | 4.92 : 1 | -44 | Pass (WCAG) |
| Accent badge on a card | 2.41 : 1 | -19 | Fail |
| Primary control on background | 4.92 : 1 | -44 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #212855;
--royal-blue: #425BCE;
--medium-sea-green: #15B054;
--light-sky-blue: #8CB4FF;
}
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 Warm Blue & Medium Green 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 Warm Blue & Medium Green can I use for text?
#212855 text on #8CB4FF reaches 6.73 : 1, the strongest pair of the palette.
Similar palettes
- Pale Purple & Dark Purple
- Marine & Pale Lilac
- Peacock Blue & Lavender
- Cornflower & Navy Blue (Vivid)
- Purpley & Midnight Purple
- Steel Blue & Gainsboro
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)