AfoliOpen Afoli →

Cornflower Blue & Navy Blue

A bold palette of 4 colors from the Afoli gallery: #002336, #834100, #6D99FF, #FFD9B7.

Open in the Afoli palette generator →

#002336 · Midnight Blue#834100 · Saddle Brown#6D99FF · Cornflower Blue#FFD9B7 · Peach Puff

Colors in this palette

HEXRGBHSLCMYKNearest named color
#002336rgb(0, 35, 54)hsl(201, 100%, 11%)100, 35, 0, 79≈ Midnight Blue
#834100rgb(131, 65, 0)hsl(30, 100%, 26%)0, 50, 100, 49≈ Saddle Brown
#6D99FFrgb(109, 153, 255)hsl(222, 100%, 71%)57, 40, 0, 0≈ Cornflower Blue
#FFD9B7rgb(255, 217, 183)hsl(28, 100%, 86%)0, 15, 28, 0≈ Peach Puff

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 · #6D99FF
Button

Roles: background #002336, surface #002336, text #FFD9B7, primary #6D99FF, accent #834100 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background12.26 : 1-85Pass
Text on a card12.26 : 1-85Pass
Button label5.91 : 148Pass (WCAG)
Heading on background5.91 : 1-47Pass (WCAG)
Link on a card5.91 : 1-47Pass (WCAG)
Accent badge on a card2.10 : 1-13Fail
Primary control on background5.91 : 1-47Pass

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: #002336;
  --saddle-brown: #834100;
  --cornflower-blue: #6D99FF;
  --peach-puff: #FFD9B7;
}

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 Blue & 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 Blue & Navy Blue can I use for text?

#002336 text on #FFD9B7 reaches 12.26 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026