AfoliOpen Afoli →

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

HEXRGBHSLCMYKNearest named color
#101532rgb(16, 21, 50)hsl(231, 52%, 13%)68, 58, 0, 80≈ Midnight Blue
#5C69FDrgb(92, 105, 253)hsl(235, 98%, 68%)64, 58, 0, 1≈ Medium Slate Blue
#EA8200rgb(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
Button

Roles: background #EA8200, surface #5C69FD, text #101532, primary #101532, accent #101532 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background6.54 : 150Pass (WCAG)
Text on a card4.16 : 133Fail
Button label6.54 : 1-48Pass (WCAG)
Heading on background6.54 : 150Pass (WCAG)
Link on a card4.16 : 133Fail
Accent badge on a card4.16 : 133Pass (WCAG)
Primary control on background6.54 : 150Pass

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

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

Sources and licences

Updated November 21, 2026