#1E2238
#2E3450
#101426
#4E5678
Background
Primary Accent
Secondary
Body Text

Midnight Velvet Color Palette

#1E2238 · #2E3450 · #101426 · #4E5678

Fail
WCAG Grade
2.2:1
Contrast Ratio
780
Saves
1,882
AI Copies
AI Prompt

Use #1E2238 as the background. Use #2E3450 as the primary accent. Use #101426 as secondary. Use #4E5678 as body text/supporting color. Palette mood: Midnight Velvet — moody, night, royal, mono.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Midnight Velvet 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: 1.7%
30, 34, 56 46%, 39%, 0%, 78% 231°, 30%, 17%
Primary Accent
Luminance: 3.6%
46, 52, 80 42%, 35%, 0%, 69% 229°, 27%, 25%
Secondary
Luminance: 0.8%
16, 20, 38 58%, 47%, 0%, 85% 229°, 41%, 11%
Body Text
Luminance: 9.6%
78, 86, 120 35%, 28%, 0%, 53% 229°, 21%, 39%

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

#1E2238 gently saturated blue
#2E3450 gently saturated blue
#101426 gently saturated blue
#4E5678 muted blue

Midnight Velvet 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
#4E5678 on #101426
Aa Sample Text
2.54:1 Fail Decorative use only
#101426 on #4E5678
Aa Sample Text
2.54:1 Fail Decorative use only
#4E5678 on #1E2238
Aa Sample Text
2.18:1 Fail Decorative use only
#1E2238 on #4E5678
Aa Sample Text
2.18:1 Fail Decorative use only
#4E5678 on #2E3450
Aa Sample Text
1.70:1 Fail Decorative use only
#2E3450 on #4E5678
Aa Sample Text
1.70:1 Fail Decorative use only
#101426 on #2E3450
Aa Sample Text
1.50:1 Fail Decorative use only
#2E3450 on #101426
Aa Sample Text
1.50:1 Fail Decorative use only
#2E3450 on #1E2238
Aa Sample Text
1.28:1 Fail Decorative use only
#1E2238 on #2E3450
Aa Sample Text
1.28:1 Fail Decorative use only
#101426 on #1E2238
Aa Sample Text
1.17:1 Fail Decorative use only
#1E2238 on #101426
Aa Sample Text
1.17:1 Fail Decorative use only

Midnight Velvet Color Psychology & Meaning

Midnight blue velvet is the darkest blue that still reads as blue, and it appears almost black until light moves across the pile, and this palette is midnight blue with velvet dark. It feels deep and formal, the color of a colour that only exists at an angle.

Color Harmony: Analogous Scheme

The Midnight Velvet 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

Midnight blue sits at a lightness where the eye still classifies it as blue rather than black; velvet amplifies the effect because its pile reflects light only at a grazing angle.

Best Design Use Cases

Use the midnight blue for backgrounds, velvet blue for primary actions, velvet dark for highlights, and lit pile for text.

Industries This Palette Suits

Fashion editorials, fragrance, premium coffee and spirits.

Colors That Pair Well With Midnight Velvet

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.

yellow

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

violet

30° beside #2E3450 — 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 Velvet Without Breaking Accessibility

  • Avoid #2E3450 for small UI elements on #1E2238 — at 1.3:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #4E5678 on #1E2238 — 2.2:1 fails WCAG AA; keep it for large decorative headings only.
  • Let #101426 carry sidebars, cards and footers — at a deep lightness it separates zones without stealing focus from #2E3450.

How to Implement the Midnight Velvet Color Scheme

To use this Midnight Velvet 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 #1E2238 for the main background and #2E3450 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #4E5678 and #1E2238 is 2.18:1 (Fail). Ensure your body text remains legible.

Midnight Velvet Palette — Frequently Asked Questions

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

The Midnight Velvet palette contains #1E2238, #2E3450, #101426, #4E5678. 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 Velvet color palette accessible (WCAG)?

Yes for its strongest pairings: #4E5678 on #101426 reaches 2.5: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 Velvet palette?

Beyond its own four colors, #716941, #3C354B, #ECECEE 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 Velvet palette create?

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

Can I use the Midnight Velvet color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content