A shared five-color palette

Midnight blue, cadet blue and peach puff: a five-color palette

A five-color palette made in Recolor (recolor.page): #00252d, #4f98a4, #f3daca, #7e451b and #9fb5fe. White text reaches the WCAG AA ratio of 4.5:1 on #00252d and #7e451b, black text on #4f98a4, #f3daca and #9fb5fe.

Shared

#00252dMidnight Blue
#4f98a4Cadet Blue
#f3dacaPeach Puff
#7e451bSaddle Brown
#9fb5feLight Sky Blue
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), November 24, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#00252dMidnight Blue (midnightblue)oklch(24.4% 0.043 215.6)1.30:1 fails16.12:1 passes
#4f98a4Cadet Blue (cadetblue)oklch(63.7% 0.075 209.4)6.36:1 passes3.30:1 fails
#f3dacaPeach Puff (peachpuff)oklch(90.5% 0.035 54.8)15.69:1 passes1.34:1 fails
#7e451bSaddle Brown (saddlebrown)oklch(45.2% 0.095 53.6)2.75:1 fails7.62:1 passes
#9fb5feLight Sky Blue (lightskyblue)oklch(78.4% 0.107 270.9)10.51:1 passes2.00:1 fails

Using the palette

In Recolor the lightness and the order of the colors are meaning. On a light page #f3daca, the lightest of the five, takes the background and #00252d, 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: #00252d;
  --color-2: #4f98a4;
  --color-3: #f3daca;
  --color-4: #7e451b;
  --color-5: #9fb5fe;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #00252d;
  --color-2: #4f98a4;
  --color-3: #f3daca;
  --color-4: #7e451b;
  --color-5: #9fb5fe;
  --color-primary: #00252d;
  --color-secondary: #4f98a4;
  --color-accent: #f3daca;
}

SCSS variables

SCSS
$color-1: #00252d;
$color-2: #4f98a4;
$color-3: #f3daca;
$color-4: #7e451b;
$color-5: #9fb5fe;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#00252d",
    "#4f98a4",
    "#f3daca",
    "#7e451b",
    "#9fb5fe"
  ]
}

Hex list

Text
#00252d
#4f98a4
#f3daca
#7e451b
#9fb5fe

Coolors link

URL
https://coolors.co/00252d-4f98a4-f3daca-7e451b-9fb5fe