#E4E8E4
#1E3050
#D8C078
#0A1428
Background
Primary Accent
Secondary
Body Text

Midshipman Color Palette

#E4E8E4 · #1E3050 · #D8C078 · #0A1428

AAA
WCAG Grade
14.8:1
Contrast Ratio
905
Saves
2,926
AI Copies
AI Prompt

Use #E4E8E4 as the background. Use #1E3050 as the primary accent. Use #D8C078 as secondary. Use #0A1428 as body text/supporting color. Palette mood: Midshipman — vintage, royal, cool, mono.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Midshipman 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: 79.8%
228, 232, 228 2%, 0%, 2%, 9% 120°, 8%, 90%
Primary Accent
Luminance: 3.0%
30, 48, 80 62%, 40%, 0%, 69% 218°, 45%, 22%
Secondary
Luminance: 53.7%
216, 192, 120 0%, 11%, 44%, 15% 45°, 55%, 66%
Body Text
Luminance: 0.7%
10, 20, 40 75%, 50%, 0%, 84% 220°, 60%, 10%

Midshipman 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 Midshipman palette — click any swatch to copy its hex.

#E4E8E4 muted green
#1E3050 gently saturated blue
#D8C078 gently saturated orange
#0A1428 gently saturated blue

Midshipman 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
#0A1428 on #E4E8E4
Aa Sample Text
14.83:1 AAA Body text, headings, UI
#E4E8E4 on #0A1428
Aa Sample Text
14.83:1 AAA Body text, headings, UI
#1E3050 on #E4E8E4
Aa Sample Text
10.64:1 AAA Body text, headings, UI
#E4E8E4 on #1E3050
Aa Sample Text
10.64:1 AAA Body text, headings, UI
#0A1428 on #D8C078
Aa Sample Text
10.26:1 AAA Body text, headings, UI
#D8C078 on #0A1428
Aa Sample Text
10.26:1 AAA Body text, headings, UI
#D8C078 on #1E3050
Aa Sample Text
7.36:1 AAA Body text, headings, UI
#1E3050 on #D8C078
Aa Sample Text
7.36:1 AAA Body text, headings, UI
#D8C078 on #E4E8E4
Aa Sample Text
1.45:1 Fail Decorative use only
#E4E8E4 on #D8C078
Aa Sample Text
1.45:1 Fail Decorative use only
#0A1428 on #1E3050
Aa Sample Text
1.39:1 Fail Decorative use only
#1E3050 on #0A1428
Aa Sample Text
1.39:1 Fail Decorative use only

Midshipman Color Psychology & Meaning

Naval uniform navy was standardised precisely so that rank could be read from a distance, with gold braid doing the work that colour alone could not, and this palette is shirt pale with rank gold. It feels disciplined and formal, the color of a line of identical coats.

Color Harmony: Complementary Scheme

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

Hue Wheel

A complementary palette is often preferred by professional designers because it provides maximum contrast and energy by using opposite colors.

History & Design Context

Naval uniforms were standardised in the eighteenth and nineteenth centuries, and the deep blue was chosen partly because it stayed presentable longer at sea than lighter colours and did not compromise visibility.

Best Design Use Cases

Use the shirt pale for large surfaces, uniform navy for links and buttons, rank gold for fine details, and uniform dark for text.

Industries This Palette Suits

Hotels and interiors, publishing, stationery, premium packaging.

Colors That Pair Well With Midshipman

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 #1E3050 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

blue

30° beside #1E3050 — a calm secondary that extends the palette without adding tension

tinted neutral

a ink-black carrying the palette's own hue — perfect for surfaces and dividers

Using Midshipman Without Breaking Accessibility

  • Use #1E3050 for buttons and links — it scores 10.6:1 against the #E4E8E4 background (above the 3:1 UI-components threshold).
  • Set body text in #0A1428 — 14.8:1 against #E4E8E4 passes WCAG AA (AAA) for long-form reading.
  • Don't use #D8C078 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Midshipman Color Scheme

To use this Midshipman 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 #E4E8E4 for the main background and #1E3050 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #0A1428 and #E4E8E4 is 14.83:1 (AAA). Ensure your body text remains legible.

Midshipman Palette — Frequently Asked Questions

What are the hex codes in the Midshipman color palette?

The Midshipman palette contains #E4E8E4, #1E3050, #D8C078, #0A1428. 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 Midshipman color palette accessible (WCAG)?

Yes for its strongest pairings: #0A1428 on #E4E8E4 reaches 14.8:1 (AAA). 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 Midshipman palette?

Beyond its own four colors, #816431, #2A244C, #141514 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 Midshipman palette create?

Midshipman reads as vintage, royal, cool. Gently saturated blue drives the personality, grounded by muted green — a combination that works best when the very light base gets most of the canvas.

Can I use the Midshipman color palette commercially?

Yes. Individual color values can't be copyrighted, so the Midshipman 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 Midshipman 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 Midshipman's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content