#D6D7D5
#878A8A
#474A4B
#0F1213
Background
Primary Accent
Secondary
Body Text

Battleship Gray Color Palette

#D6D7D5 · #878A8A · #474A4B · #0F1213

AAA
WCAG Grade
13.0:1
Contrast Ratio
929
Saves
2,867
AI Copies
AI Prompt

Use #D6D7D5 as the background. Use #878A8A as the primary accent. Use #474A4B as secondary. Use #0F1213 as body text/supporting color. Palette mood: Battleship Gray — cool, moody, mono, night, vintage.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Battleship Gray 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: 67.7%
214, 215, 213 0%, 0%, 1%, 16% 90°, 2%, 84%
Primary Accent
Luminance: 25.2%
135, 138, 138 2%, 0%, 0%, 46% 180°, 1%, 54%
Secondary
Luminance: 6.7%
71, 74, 75 5%, 1%, 0%, 71% 195°, 3%, 29%
Body Text
Luminance: 0.6%
15, 18, 19 21%, 5%, 0%, 93% 195°, 12%, 7%

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

#D6D7D5 neutral gray
#878A8A neutral gray
#474A4B neutral gray
#0F1213 muted cyan-blue

Battleship Gray 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
#0F1213 on #D6D7D5
Aa Sample Text
13.03:1 AAA Body text, headings, UI
#D6D7D5 on #0F1213
Aa Sample Text
13.03:1 AAA Body text, headings, UI
#474A4B on #D6D7D5
Aa Sample Text
6.19:1 AA Body text, UI
#D6D7D5 on #474A4B
Aa Sample Text
6.19:1 AA Body text, UI
#0F1213 on #878A8A
Aa Sample Text
5.40:1 AA Body text, UI
#878A8A on #0F1213
Aa Sample Text
5.40:1 AA Body text, UI
#474A4B on #878A8A
Aa Sample Text
2.57:1 Fail Decorative use only
#878A8A on #474A4B
Aa Sample Text
2.57:1 Fail Decorative use only
#878A8A on #D6D7D5
Aa Sample Text
2.41:1 Fail Decorative use only
#D6D7D5 on #878A8A
Aa Sample Text
2.41:1 Fail Decorative use only
#0F1213 on #474A4B
Aa Sample Text
2.10:1 Fail Decorative use only
#474A4B on #0F1213
Aa Sample Text
2.10:1 Fail Decorative use only

Battleship Gray Color Psychology & Meaning

Haze gray was chosen for naval ships because it matches a horizon at almost any distance, and a warship that blends into weather is a warship that is harder to hit, and this palette is spray pale with hull mid. It feels utilitarian and threatening, the color of a grey shape where the sky becomes sea.

Color Harmony: Triadic Scheme

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

Hue Wheel

A triadic palette is often preferred by professional designers because it balances visual interest with cohesion.

History & Design Context

The US Navy's haze gray replaced earlier white and buff schemes in the early twentieth century, and modern low-observability paints continue the same logic with reduced radar reflection as well.

Best Design Use Cases

Use the spray pale for hero surfaces, haze gray for interactive elements, hull mid for accents, and waterline dark for text.

Industries This Palette Suits

Design systems, developer tools, dashboards, technical documentation.

Colors That Pair Well With Battleship Gray

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.

red

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

cyan-blue

30° beside #878A8A — 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 Battleship Gray Without Breaking Accessibility

  • Avoid #878A8A for small UI elements on #D6D7D5 — at 2.4:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #0F1213 — 13.0:1 against #D6D7D5 passes WCAG AA (AAA) for long-form reading.
  • Let #474A4B carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #878A8A.

How to Implement the Battleship Gray Color Scheme

To use this Battleship Gray 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 #D6D7D5 for the main background and #878A8A for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #0F1213 and #D6D7D5 is 13.03:1 (AAA). Ensure your body text remains legible.

Battleship Gray Palette — Frequently Asked Questions

What are the hex codes in the Battleship Gray color palette?

The Battleship Gray palette contains #D6D7D5, #878A8A, #474A4B, #0F1213. 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 Battleship Gray color palette accessible (WCAG)?

Yes for its strongest pairings: #0F1213 on #D6D7D5 reaches 13.0: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 Battleship Gray palette?

Beyond its own four colors, #8B8989, #7E8A95, #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 Battleship Gray palette create?

Battleship Gray reads as cool, moody, mono. Neutral gray drives the personality, grounded by neutral gray — a combination that works best when the very light base gets most of the canvas.

Can I use the Battleship Gray color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content