A five-color palette

Blue hour: a slate blue, periwinkle and ink color palette

One hue in five steps: slate blue and periwinkle between an inky navy and a near-white blue. Its hex codes are #465b8a, #7f90b0, #151f3e, #acbde3, #e6efff. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#465b8aDark Slate Blue
#7f90b0Light Slate Grey
#151f3eMidnight Blue
#acbde3Light Steel Blue
#e6efffLavender
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 12, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#465b8aDark Slate Blue (darkslateblue)oklch(47.5% 0.081 265.1)3.12:1 fails6.72:1 passes
#7f90b0Light Slate Grey (lightslategrey)oklch(65.1% 0.052 263.0)6.52:1 passes3.22:1 fails
#151f3eMidnight Blue (midnightblue)oklch(24.8% 0.061 268.3)1.30:1 fails16.19:1 passes
#acbde3Light Steel Blue (lightsteelblue)oklch(79.8% 0.057 266.1)11.14:1 passes1.88:1 fails
#e6efffLavender (lavender)oklch(95.0% 0.024 262.1)18.16:1 passes1.16:1 fails

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #e6efff, the lightest of the five, takes the background and #151f3e, 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: #465b8a;
  --color-2: #7f90b0;
  --color-3: #151f3e;
  --color-4: #acbde3;
  --color-5: #e6efff;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #465b8a;
  --color-2: #7f90b0;
  --color-3: #151f3e;
  --color-4: #acbde3;
  --color-5: #e6efff;
  --color-primary: #465b8a;
  --color-secondary: #7f90b0;
  --color-accent: #151f3e;
}

SCSS variables

SCSS
$color-1: #465b8a;
$color-2: #7f90b0;
$color-3: #151f3e;
$color-4: #acbde3;
$color-5: #e6efff;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#465b8a",
    "#7f90b0",
    "#151f3e",
    "#acbde3",
    "#e6efff"
  ]
}

Hex list

Text
#465b8a
#7f90b0
#151f3e
#acbde3
#e6efff

Coolors link

URL
https://coolors.co/465b8a-7f90b0-151f3e-acbde3-e6efff