Export

Code

/* Midnight Navy — colorset.net */
:root {
  --color-1: #000033;
  --color-2: #000D4D;
  --color-3: #001A66;
  --color-4: #002680;
  --color-5: #003399;

  --color-bg: #F2F7FF;
  --color-surface: #E6EEFB;
  --color-border: #CCD5E6;
  --color-text: #00022F;
  --color-muted: #566279;
  --color-primary: #003399;
  --color-on-primary: #FFFFFF;
  --color-accent: #000D4D;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #080F1F;
    --color-surface: #11192A;
    --color-border: #242E42;
    --color-text: #94A6C5;
    --color-muted: #76849C;
    --color-primary: #2D62CB;
    --color-on-primary: #FFFFFF;
    --color-accent: #4A66A1;
    --color-on-accent: #FFFFFF;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #003399adjusted for contrast · from #000033
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #000033adjusted for contrast · from #003399
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #003399
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #003399
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background18.60:1AAA pass 4.5:1
Text on surface17.14:1AAA pass 4.5:1
Muted text on background5.71:1AA pass 4.5:1
Label on primary10.86:1AAA pass 4.5:1
Label on accent18.03:1AAA pass 4.5:1
Primary on background10.10:1AAA pass 3:1
Accent on background16.76:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.76:1AAA pass 4.5:1
Text on surface7.12:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary5.64:1AA pass 4.5:1
Label on accent5.67:1AA pass 4.5:1
Primary on background3.39:1AA Large pass 3:1
Accent on background3.37:1AA Large pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#000033 (Text 1)#000D4D (Text 2)#001A66 (Text 3)#002680 (Text 4)#003399 (Text 5)
#000033Same color1.11—1.28—1.52—1.85—
#000D4D1.11—Same color1.15—1.36—1.66—
#001A661.28—1.15—Same color1.19—1.44—
#0026801.52—1.36—1.19—Same color1.22—
#0033991.85—1.66—1.44—1.22—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#000033#000D4D#001A66#002680#003399

Variations

About Midnight Navy

Five colors make up Midnight Navy, a cool blue set: #000033, #000D4D, #001A66, #002680, #003399. All hues sit within 2° of each other, so near-black #000033 and its relatives form a cohesive monochromatic scheme. From #000033 to #003399 the colors share a similar dark value (lightness 15%–37%), which suits fills and illustration more than body text. Average chroma is 0.137, medium for a palette, so the colors are clear without being loud; the most saturated color is #003399. Text contrast reaches 18.6:1 in light mode and 7.8:1 in dark mode, with #003399 as primary and #000D4D as accent. With #003399 leading, good fits include SaaS dashboards, fintech and banking apps and icons and logos.

Midnight Navy color palette: #000033, #000D4D, #001A66, #002680, #003399
Share image for Midnight Navy

Gradients in similar colors