Skip to content
#E4E8E4
#1E3050
#D8C078
#0A1428
Background
Text · AAA
Decorative / accent
Text · AAA

Midshipman Color Palette

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

AAA
WCAG Grade
14.83:1
Contrast Ratio
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%
Text · AAA
Luminance: 3.0%
30, 48, 80 62%, 40%, 0%, 69% 218°, 45%, 22%
Decorative / accent
Luminance: 53.7%
216, 192, 120 0%, 11%, 44%, 15% 45°, 55%, 66%
Text · AAA
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.25:1 AAA Body text, headings, UI
#D8C078 on #0A1428
Aa Sample Text
10.25: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.44:1 Fail Decorative use only
#E4E8E4 on #D8C078
Aa Sample Text
1.44: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

Palette Details

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. Three of the four colors are balanced (45–60%) and the other is muted (8%), with lightness running 10–90%. Body text #0A1428 on #E4E8E4 measures 14.83:1 (AAA for normal text); the accent #1E3050 measures 10.64:1 against the same background.

Color Harmony: Complementary

Two hue groups sit 174° apart (45°, 219°) — close to opposite sides of the wheel.

Hue Wheel

Opposite hues give the strongest contrast in the set; keep one as the surface and the other in small areas so they do not vibrate against each other.

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.

Measured best pair: #0A1428 on #E4E8E4 at 14.83:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Industries This Palette Suits

Residential Design, Hospitality & Hotels, Restaurants & Cafés, Retail Spaces, Co-working, Real Estate Staging.

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

an 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.64:1 against the #E4E8E4 background (above the 3:1 UI-components threshold).
  • Set body text in #0A1428 — 14.83: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, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.

Option 1: CSS Variables

:root {
  /* Midshipman — ihatecolors */
  --color-bg: #E4E8E4;
  --color-accent: #1E3050;
  --color-secondary: #D8C078;
  --color-text: #0A1428;
}

Web Design Tip

Use #E4E8E4 as the page background and #1E3050 for primary buttons — they measure 10.64:1, which clears both the 3:1 UI threshold and the 4.5:1 body-text threshold.

Accessibility Note

Body copy in #0A1428 on #E4E8E4 measures 14.83:1, which passes WCAG AAA for normal text.

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. #0A1428 on #E4E8E4 reaches 14.83:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair 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.

Live Preview
Generate Similar ✦