Cornflower & Navy Blue (Vivid)
A vivid palette of 4 colors from the Afoli gallery: #101A48, #D44B49, #6575F0, #00AF6B.
Open in the Afoli palette generator →
#101A48 · Midnight Blue#D44B49 · Indian Red#6575F0 · Medium Slate Blue#00AF6B · Medium Sea Green
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #101A48 | rgb(16, 26, 72) | hsl(229, 64%, 17%) | 78, 64, 0, 72 | ≈ Midnight Blue |
| #D44B49 | rgb(212, 75, 73) | hsl(1, 62%, 56%) | 0, 65, 66, 17 | ≈ Indian Red |
| #6575F0 | rgb(101, 117, 240) | hsl(233, 82%, 67%) | 58, 51, 0, 6 | ≈ Medium Slate Blue |
| #00AF6B | rgb(0, 175, 107) | hsl(157, 100%, 34%) | 100, 0, 39, 31 | ≈ Medium Sea Green |
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 · #6575F0
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 5.81 : 1 | -46 | Pass (WCAG) |
| Text on a card | 5.81 : 1 | -46 | Pass (WCAG) |
| Button label | 4.24 : 1 | 35 | Fail |
| Heading on background | 4.24 : 1 | -33 | Pass (WCAG) |
| Link on a card | 4.24 : 1 | -33 | Fail |
| Accent badge on a card | 3.88 : 1 | -31 | Pass (WCAG) |
| Primary control on background | 4.24 : 1 | -33 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #101A48;
--indian-red: #D44B49;
--medium-slate-blue: #6575F0;
--medium-sea-green: #00AF6B;
}
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 Cornflower & Navy Blue (Vivid) 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 Cornflower & Navy Blue (Vivid) can I use for text?
#101A48 text on #00AF6B reaches 5.81 : 1, the strongest pair of the palette.
Similar palettes
- Cornflower & Navy Blue
- Rusty Red & Light Sea Green
- Warm Blue & Medium Green
- Tangerine & Dark Indigo
- Tomato Red & Seaweed
- Light Indigo & Dark Mustard
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)