Cornflower & Navy Blue
A vivid palette of 3 colors from the Afoli gallery: #101532, #5C69FD, #EA8200.
Open in the Afoli palette generator →
#101532 · Midnight Blue#5C69FD · Medium Slate Blue#EA8200 · Dark Orange
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #101532 | rgb(16, 21, 50) | hsl(231, 52%, 13%) | 68, 58, 0, 80 | ≈ Midnight Blue |
| #5C69FD | rgb(92, 105, 253) | hsl(235, 98%, 68%) | 64, 58, 0, 1 | ≈ Medium Slate Blue |
| #EA8200 | rgb(234, 130, 0) | hsl(33, 100%, 46%) | 0, 44, 100, 8 | ≈ Dark Orange |
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 · #101532
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 6.54 : 1 | 50 | Pass (WCAG) |
| Text on a card | 4.16 : 1 | 33 | Fail |
| Button label | 6.54 : 1 | -48 | Pass (WCAG) |
| Heading on background | 6.54 : 1 | 50 | Pass (WCAG) |
| Link on a card | 4.16 : 1 | 33 | Fail |
| Accent badge on a card | 4.16 : 1 | 33 | Pass (WCAG) |
| Primary control on background | 6.54 : 1 | 50 | Pass |
CSS variables
:root {
--midnight-blue: #101532;
--medium-slate-blue: #5C69FD;
--dark-orange: #EA8200;
}
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 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 can I use for text?
#101532 text on #EA8200 reaches 6.54 : 1, the strongest pair of the palette.
Similar palettes
- Light Indigo & Dark Mustard
- Azul & Dusty Orange
- Cornflower & Navy Blue (Vivid)
- Faded Orange & Almost Black
- Dark Indigo & Light Blue
- Cornflower & Dark Brown
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)