A five-color palette

Ultramarine: a ultramarine, lavender and ink color palette

An ultramarine blue and a grayish indigo with lavender, a pale lavender and an ink. Its hex codes are #dae1fd, #4353b4, #b9c7fb, #1b1f35, #6f7ca8. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.

Last updated

#dae1fdLavender
#4353b4Slate Blue
#b9c7fbLight Steel Blue
#1b1f35Midnight Blue
#6f7ca8Slate Grey
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 12, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#dae1fdLavender (lavender)oklch(91.3% 0.039 274.5)16.17:1 passes1.30:1 fails
#4353b4Slate Blue (slateblue)oklch(48.4% 0.154 272.3)3.14:1 fails6.70:1 passes
#b9c7fbLight Steel Blue (lightsteelblue)oklch(83.7% 0.075 273.0)12.63:1 passes1.66:1 fails
#1b1f35Midnight Blue (midnightblue)oklch(24.7% 0.042 275.0)1.29:1 fails16.23:1 passes
#6f7ca8Slate Grey (slategrey)oklch(59.3% 0.069 271.5)5.12:1 passes4.10:1 fails

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #dae1fd, the lightest of the five, takes the background and #1b1f35, 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: #dae1fd;
  --color-2: #4353b4;
  --color-3: #b9c7fb;
  --color-4: #1b1f35;
  --color-5: #6f7ca8;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #dae1fd;
  --color-2: #4353b4;
  --color-3: #b9c7fb;
  --color-4: #1b1f35;
  --color-5: #6f7ca8;
  --color-primary: #dae1fd;
  --color-secondary: #4353b4;
  --color-accent: #b9c7fb;
}

SCSS variables

SCSS
$color-1: #dae1fd;
$color-2: #4353b4;
$color-3: #b9c7fb;
$color-4: #1b1f35;
$color-5: #6f7ca8;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#dae1fd",
    "#4353b4",
    "#b9c7fb",
    "#1b1f35",
    "#6f7ca8"
  ]
}

Hex list

Text
#dae1fd
#4353b4
#b9c7fb
#1b1f35
#6f7ca8

Coolors link

URL
https://coolors.co/dae1fd-4353b4-b9c7fb-1b1f35-6f7ca8