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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #002336 | rgb(0, 35, 54) | hsl(201, 100%, 11%) | 100, 35, 0, 79 | ≈ Midnight Blue |
| #834100 | rgb(131, 65, 0) | hsl(30, 100%, 26%) | 0, 50, 100, 49 | ≈ Saddle Brown |
| #6D99FF | rgb(109, 153, 255) | hsl(222, 100%, 71%) | 57, 40, 0, 0 | ≈ Cornflower Blue |
| #FFD9B7 | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 12.26 : 1 | -85 | Pass |
| Text on a card | 12.26 : 1 | -85 | Pass |
| Button label | 5.91 : 1 | 48 | Pass (WCAG) |
| Heading on background | 5.91 : 1 | -47 | Pass (WCAG) |
| Link on a card | 5.91 : 1 | -47 | Pass (WCAG) |
| Accent badge on a card | 2.10 : 1 | -13 | Fail |
| Primary control on background | 5.91 : 1 | -47 | Pass |
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
- Red Brown & Misty Rose
- Faded Blue & Navajo White
- Warm Brown & Robin Egg Blue
- Blue Blue & Bisque
- Chestnut & Gainsboro
- Purple Brown & Light Blue
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)