A five-color palette

Twilight: a cerulean, indigo and lilac color palette

A cerulean and an indigo with a pale blue, a lilac and a dark purple. Its hex codes are #0092d2, #ddf2ff, #3b4c92, #c0b4fd, #291735. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#0092d2Steel Blue
#ddf2ffAlice Blue
#3b4c92Dark Slate Blue
#c0b4fdPlum
#291735Midnight Blue
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 12, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#0092d2Steel Blue (steelblue)oklch(62.7% 0.140 238.3)6.04:1 passes3.48:1 fails
#ddf2ffAlice Blue (aliceblue)oklch(95.0% 0.028 234.8)18.22:1 passes1.15:1 fails
#3b4c92Dark Slate Blue (darkslateblue)oklch(44.0% 0.116 270.7)2.63:1 fails7.97:1 passes
#c0b4fdPlum (plum)oklch(80.6% 0.103 291.5)11.19:1 passes1.88:1 fails
#291735Midnight Blue (midnightblue)oklch(24.4% 0.059 310.4)1.27:1 fails16.56:1 passes

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #ddf2ff, the lightest of the five, takes the background and #291735, 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: #0092d2;
  --color-2: #ddf2ff;
  --color-3: #3b4c92;
  --color-4: #c0b4fd;
  --color-5: #291735;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #0092d2;
  --color-2: #ddf2ff;
  --color-3: #3b4c92;
  --color-4: #c0b4fd;
  --color-5: #291735;
  --color-primary: #0092d2;
  --color-secondary: #ddf2ff;
  --color-accent: #3b4c92;
}

SCSS variables

SCSS
$color-1: #0092d2;
$color-2: #ddf2ff;
$color-3: #3b4c92;
$color-4: #c0b4fd;
$color-5: #291735;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#0092d2",
    "#ddf2ff",
    "#3b4c92",
    "#c0b4fd",
    "#291735"
  ]
}

Hex list

Text
#0092d2
#ddf2ff
#3b4c92
#c0b4fd
#291735

Coolors link

URL
https://coolors.co/0092d2-ddf2ff-3b4c92-c0b4fd-291735