Battleship Gray Color Palette
#D6D7D5 · #878A8A · #474A4B · #0F1213
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% | ||
| Decorative / accent Luminance: 25.2% | 135, 138, 138 | 2%, 0%, 0%, 46% | 180°, 1%, 54% | ||
| Text · AA Luminance: 6.7% | 71, 74, 75 | 5%, 1%, 0%, 71% | 195°, 3%, 29% | ||
| Text · AAA 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.
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.02:1 | AAA | Body text, headings, UI |
| #D6D7D5 on #0F1213 |
Aa Sample Text
| 13.02:1 | AAA | Body text, headings, UI |
| #474A4B on #D6D7D5 |
Aa Sample Text
| 6.18:1 | AA | Body text, UI |
| #D6D7D5 on #474A4B |
Aa Sample Text
| 6.18: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.56:1 | Fail | Decorative use only |
| #878A8A on #474A4B |
Aa Sample Text
| 2.56: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 |
Color Harmony: No Hue Relationship
All 4 colors are near-neutral — every one has a saturation below 15%, so there is no hue spacing to measure.
Near-neutral palettes carry hierarchy entirely through lightness; check the contrast matrix before relying on hue for emphasis.
History & Design Context
Best Design Use Cases
Measured best pair: #0F1213 on #D6D7D5 at 13.02:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Industries This Palette Suits
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.
directly opposite #878A8A on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #878A8A — a calm secondary that extends the palette without adding tension
an 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.41:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #0F1213 — 13.02: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, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.
Option 1: CSS Variables
:root {
/* Battleship Gray — ihatecolors */
--color-bg: #D6D7D5;
--color-accent: #878A8A;
--color-secondary: #474A4B;
--color-text: #0F1213;
} Web Design Tip
#878A8A on #D6D7D5 measures 2.41:1 — below the 3:1 WCAG threshold for UI components. Use it for decoration only, or darken it with a shade from the ramp before using it for buttons, icons or borders.
Accessibility Note
Body copy in #0F1213 on #D6D7D5 measures 13.02:1, which passes WCAG AAA for normal text.
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. #0F1213 on #D6D7D5 reaches 13.02: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 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.