#1E3A5C
#0E1E34
#3E5E82
#060C18
Background
Primary Accent
Secondary
Body Text

Midnight Zone Color Palette

#1E3A5C · #0E1E34 · #3E5E82 · #060C18

Fail
WCAG Grade
1.7:1
Contrast Ratio
851
Saves
1,795
AI Copies
AI Prompt

Use #1E3A5C as the background. Use #0E1E34 as the primary accent. Use #3E5E82 as secondary. Use #060C18 as body text/supporting color. Palette mood: Midnight Zone — ocean, night, moody.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Midnight Zone color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).

Swatch Design Role HEX RGB CMYK HSL
Background
Luminance: 4.1%
30, 58, 92 67%, 37%, 0%, 64% 213°, 51%, 24%
Primary Accent
Luminance: 1.3%
14, 30, 52 73%, 42%, 0%, 80% 215°, 58%, 13%
Secondary
Luminance: 10.6%
62, 94, 130 52%, 28%, 0%, 49% 212°, 35%, 38%
Body Text
Luminance: 0.4%
6, 12, 24 75%, 50%, 0%, 91% 220°, 60%, 6%

Midnight Zone Tints & Shades

Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Midnight Zone palette — click any swatch to copy its hex.

#1E3A5C gently saturated cyan-blue
#0E1E34 gently saturated cyan-blue
#3E5E82 gently saturated cyan-blue
#060C18 gently saturated blue

Midnight Zone Palette Contrast Matrix (WCAG 2.1)

Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.

Text on Background Preview Ratio Grade Safe For
#060C18 on #3E5E82
Aa Sample Text
2.91:1 Fail Decorative use only
#3E5E82 on #060C18
Aa Sample Text
2.91:1 Fail Decorative use only
#3E5E82 on #0E1E34
Aa Sample Text
2.49:1 Fail Decorative use only
#0E1E34 on #3E5E82
Aa Sample Text
2.49:1 Fail Decorative use only
#3E5E82 on #1E3A5C
Aa Sample Text
1.72:1 Fail Decorative use only
#1E3A5C on #3E5E82
Aa Sample Text
1.72:1 Fail Decorative use only
#060C18 on #1E3A5C
Aa Sample Text
1.69:1 Fail Decorative use only
#1E3A5C on #060C18
Aa Sample Text
1.69:1 Fail Decorative use only
#0E1E34 on #1E3A5C
Aa Sample Text
1.45:1 Fail Decorative use only
#1E3A5C on #0E1E34
Aa Sample Text
1.45:1 Fail Decorative use only
#060C18 on #0E1E34
Aa Sample Text
1.17:1 Fail Decorative use only
#0E1E34 on #060C18
Aa Sample Text
1.17:1 Fail Decorative use only

Midnight Zone Color Psychology & Meaning

The midnight zone of the ocean begins a kilometre down, below the last trace of sunlight, where the only light is made by living things, and this palette is midnight blue with dim blue. It feels black and alive, the color of the dark between the last light and the sea floor.

Color Harmony: Analogous Scheme

The Midnight Zone palette is built using a analogous relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A analogous palette is often preferred by professional designers because it creates a calm, serene atmosphere by using neighboring colors.

History & Design Context

The bathypelagic or midnight zone runs from 1,000 to 4,000 metres, is pitch dark, near-freezing, and home to some of the strangest animals on earth, most of which produce their own light.

Best Design Use Cases

Use the midnight blue for wide surfaces, deep dark for buttons and links, dim blue for secondary details, and total dark for text.

Industries This Palette Suits

Luxury resorts, yachting, bottled water, spa and wellness.

Colors That Pair Well With Midnight Zone

Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.

orange

directly opposite #0E1E34 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

blue

30° beside #0E1E34 — a calm secondary that extends the palette without adding tension

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using Midnight Zone Without Breaking Accessibility

  • Avoid #0E1E34 for small UI elements on #1E3A5C — at 1.4:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #060C18 on #1E3A5C — 1.7:1 fails WCAG AA; keep it for large decorative headings only.
  • Let #3E5E82 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #0E1E34.

How to Implement the Midnight Zone Color Scheme

To use this Midnight Zone color palette in your web project, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #1E3A5C for the main background and #0E1E34 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #060C18 and #1E3A5C is 1.69:1 (Fail). Ensure your body text remains legible.

Midnight Zone Palette — Frequently Asked Questions

What are the hex codes in the Midnight Zone color palette?

The Midnight Zone palette contains #1E3A5C, #0E1E34, #3E5E82, #060C18. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.

Is the Midnight Zone color palette accessible (WCAG)?

Yes for its strongest pairings: #060C18 on #3E5E82 reaches 2.9:1 (Fail). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination in this palette.

What colors go well with the Midnight Zone palette?

Beyond its own four colors, #8D6225, #141131, #EBEDEF extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.

What mood does the Midnight Zone palette create?

Midnight Zone reads as ocean, night, moody. Gently saturated cyan-blue drives the personality, grounded by gently saturated cyan-blue — a combination that works best when the deep base gets most of the canvas.

Can I use the Midnight Zone color palette commercially?

Yes. Individual color values can't be copyrighted, so the Midnight Zone palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.

How do I add the Midnight Zone palette to Tailwind or CSS?

Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Midnight Zone's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content