A five-color palette

Cornflower: a cornflower, navy and ice blue color palette

A cornflower blue and a deeper royal blue with a light blue, an ice white and a navy-black. Its hex codes are #e2efff, #5383d1, #10172b, #8db5ff, #385da1. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#e2efffLavender
#5383d1Steel Blue
#10172bMidnight Blue
#8db5ffLight Sky Blue
#385da1Dark Slate Blue
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 12, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#e2efffLavender (lavender)oklch(94.7% 0.026 253.6)18.02:1 passes1.17:1 fails
#5383d1Steel Blue (steelblue)oklch(61.2% 0.130 259.7)5.54:1 passes3.79:1 fails
#10172bMidnight Blue (midnightblue)oklch(20.9% 0.041 268.1)1.18:1 fails17.80:1 passes
#8db5ffLight Sky Blue (lightskyblue)oklch(77.3% 0.115 262.2)10.19:1 passes2.06:1 fails
#385da1Dark Slate Blue (darkslateblue)oklch(48.6% 0.118 261.5)3.25:1 fails6.46:1 passes

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #e2efff, the lightest of the five, takes the background and #10172b, the darkest, the text, and the page's other greys keep their place between the two; on a dark page the two swap. The other three take the page's colors in their order: the first of them its heaviest brand color, the next the one after. Reorder the swatches and the page reorders with them; mapping explains it, and the Tint choice that keeps a page's greys as they were. To keep text readable, the table above says whether black or white text reaches the WCAG AA ratio of 4.5:1 on each color.

The code below is what Recolor's own Export panel writes for this palette. The Tailwind block is a Tailwind v4 @theme block, and the Coolors link opens the same colors there. To see the palette on your own site first, follow previewing a palette on a real website.

The palette as code

CSS variables

CSS
:root {
  --color-1: #e2efff;
  --color-2: #5383d1;
  --color-3: #10172b;
  --color-4: #8db5ff;
  --color-5: #385da1;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #e2efff;
  --color-2: #5383d1;
  --color-3: #10172b;
  --color-4: #8db5ff;
  --color-5: #385da1;
  --color-primary: #e2efff;
  --color-secondary: #5383d1;
  --color-accent: #10172b;
}

SCSS variables

SCSS
$color-1: #e2efff;
$color-2: #5383d1;
$color-3: #10172b;
$color-4: #8db5ff;
$color-5: #385da1;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#e2efff",
    "#5383d1",
    "#10172b",
    "#8db5ff",
    "#385da1"
  ]
}

Hex list

Text
#e2efff
#5383d1
#10172b
#8db5ff
#385da1

Coolors link

URL
https://coolors.co/e2efff-5383d1-10172b-8db5ff-385da1