Closest web-safe match: #333333

Color Details and Palettes for #281C38

Details about the color Midnight Velvet#281C38

Conversions, palettes, contrast & design ideas for this color.

Indigo family Cool WCAG ink: white
HEX #281C38 RGB rgb(40, 28, 56) HSL hsl(266, 33%, 16%) CMYK cmyk(29%, 50%, 0%, 78%)

Color profile

About Color Hex #281C38

#281C38 is a cool color from the Indigo family, closest in name to “Midnight Velvet”. In RGB it is rgb(40, 28, 56); in HSL, hsl(266, 33%, 16%).

The color Midnight Velvet, with hexadecimal code #281c38, belongs to the blue color family, the world's most universally preferred hue. Blue projects trust, stability, and intellectual calm, which is why it dominates corporate, financial, and technology branding worldwide. Additionally, it evokes emotions such as Luxury, Royalty, Spirituality, Imagination and Wisdom. Blue signifies tranquility and stability. In Middle Eastern cultures, it can also represent protection against the evil eye, while in Western cultures, it symbolizes calmness and reliability. With a moderate saturation of 33%, it has a softened, muted quality that lends sophistication and works well for backgrounds and secondary elements. At only 16% lightness, this extremely dark shade approaches black, delivering maximum drama and contrast when paired with lighter elements. This color is ideal for designs that aim to express Luxury, Royalty, Spirituality, Imagination, or Wisdom. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 40, 28, 56 red · green · blue HSL 266° 33% 16% hue · sat · light HSV 266° 50% 22% design-app pickers CMYK 29 50 0 78 print inks, % Luminance 0.016 0 dark → 1 light On black 1.31:1 ✕ AA contrast ratio On white 15.99:1 ✓ AA contrast ratio Web-safe #333333 closest web-safe Best text white ideal foreground Character Vivid cool · indigo family

The story of this color

History, Usage, Psychology & Design Ideas for #281C38

Midnight Velvet (#281C38) belongs to the Indigo color family.

This deep, saturated shade conveys authority and richness. Deep tones are favored in luxury packaging, evening-event branding, and dark-mode interfaces where they provide dramatic contrast against lighter elements.

Historical Background

Indigo dye—extracted from Indigofera plants—has been used for over 6,000 years, with the oldest known samples found in Peru. It was the foundation of the blue-dye trade across India, West Africa, and the Americas, and its economic importance rivaled that of spices. Levi Strauss chose indigo-dyed denim for the first blue jeans in 1873, cementing indigo's place in everyday fashion worldwide.

Design & Usage Tips

Indigo occupies the territory between blue and purple, lending depth without purple's flamboyance. It is excellent for evening-event branding, high-end fashion, and editorial design. Pair indigo with soft gold or warm white for a sophisticated contrast, or with coral for a contemporary editorial palette.

Sitting on the cool side of the spectrum (hue 266°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 33% saturation, the color has a muted, sophisticated quality that pairs well with bolder accents. It works as a background, a border, or a secondary element in layered compositions.

Psychological Impact

Indigo conveys depth, wisdom, and introspection. It carries the trustworthiness of blue with a hint of purple's creativity, appealing to brands that want to appear both reliable and imaginative—think higher education, think-tanks, and creative consultancies.

Its low lightness of 16% gives it a deep, intense presence. Deep tones like this excel as dark-mode backgrounds, header bars, and anywhere a sense of gravity or luxury is desired.

Creative Design Ideas

Use indigo as a full-page background with centered white text for impactful statement pages. Combine indigo with copper accents for a rich, modern luxury feel in packaging. In web design, indigo sidebar navigation with white icons creates a polished, app-like interface.

Every format

#281C38 Color Conversions

Every way to write Midnight Velvet — one-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#281C38

Hexadecimal is the web’s universal color notation — two digits each for red, green and blue. Drop it straight into HTML, CSS or any design tool.

RGB Screen
rgb(40, 28, 56)

RGB is the additive Red-Green-Blue model every screen uses to emit light. The default choice for websites, apps and on-screen UI.

HSL Web
hsl(266, 33%, 16%)

HSL breaks a color into Hue, Saturation and Lightness — the most intuitive way to lighten, darken or mute a color in CSS.

HSV HSB Design
hsv(266, 50%, 22%)

HSV (also called HSB) maps Hue, Saturation and Value/Brightness. It is the model behind the color pickers in Photoshop, Figma and most design apps.

HWB CSS 4
hwb(266 11% 78%)

HWB blends a pure hue with Whiteness and Blackness — a painter-friendly model added in CSS Color 4 for quick tints and shades.

CMYK Print
cmyk(29%, 50%, 0%, 78%)

CMYK is the subtractive Cyan-Magenta-Yellow-Black ink model. Use these values when preparing artwork for a printer or commercial press.

OKLCH Modern
oklch(25.55% 0.053 302.56)

OKLCH is a modern, perceptually-uniform space (Lightness, Chroma, Hue). It powers smooth gradients and accessible palettes in today’s CSS.

OKLab Modern
oklab(25.55% 0.029 -0.045)

OKLab is the Cartesian form of OKLCH — ideal for blending and interpolating colors without the muddy midpoints older spaces produce.

CIELAB L*a*b* Perceptual
L: 13.03, a: 13.01, b: -16.09

CIELAB is a device-independent, perceptually-uniform space. It is the standard for measuring color difference (ΔE) and matching across devices.

LCH Perceptual
L: 13.03, C: 20.69, H: 308.95

LCH is CIELAB in cylindrical form — Lightness, Chroma and Hue — letting you adjust vividness and hue while staying perceptually even.

XYZ CIE Science
X: 2.00, Y: 1.57, Z: 3.94

CIE XYZ is the 1931 master space that underpins every other model here — the scientific bridge used to convert between color systems.

Decimal int Code
2628664

The 24-bit integer value of the color — handy for databases, APIs, game engines and low-level graphics code.

Channel breakdown

RGB Color Percentages for #281C38

How much red, green and blue light mixes into Midnight Velvet.

Red 40/255 32.3% Green 28/255 22.6% Blue 56/255 45.2%

Percentages show each channel's share of the total light (R + G + B) in Midnight Velvet.

Ink coverage

CMYK Ink Levels & Print Guide for #281C38

Ink needed to reproduce Midnight Velvet in four-color print. Heaviest ink: Key (Black).

29% CYAN 50% MAGENTA 0% YELLOW 78% KEY

Print tip: treat these values as a starting point — final output depends on printer profile, paper stock and calibration.

Accessibility · WCAG

Luminance & Contrast for #281C38

How bright Midnight Velvet is, and how far black and white text clear each WCAG bar.

Relative luminance 0.016
0 · dark1 · light

Contrast ratio · 1:1 → 21:1 (log scale)

Aa Black text 1.31:1 ✕ AA ✕ AAA ✕ Large
Aa White text 15.99:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #281C38

Copy-and-paste CSS for Midnight Velvet — per-line copy, or grab the whole block.

midnight-velvet.css
background-color: #281C38;
color: #281C38;
border: 2px solid #281C38;
background-color: rgb(40, 28, 56);
background-color: hsl(266, 33%, 16%);
--color: #281C38;

Shades · light to dark

#281C38 Monochrome Palette

Lighter and darker steps of Midnight Velvet — the color's full brightness range in one strip.

#E9E8EB
#C9C6CD
#A9A4AF
#898292
#696074
#483E56
#281C38
#221830
#1C1427
#160F1F
#100B16
#0A070E
#040306

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 180° apart

#281C38 Complementary Palette

Two colors opposite on the wheel — maximum contrast for attention-grabbing accents.

#281C38
#2B361B

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · adjacent hues

#281C38 Analogic Palette

Neighboring hues on the wheel — harmonious, calm combinations that feel unified.

#281C38
#341B36
#1B1D36
#361B2B
#1B2B36
#361B1D
#1B3634

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 120° apart

#281C38 Triadic Palette

Three colors evenly spaced on the wheel — vibrant and energetic, yet balanced.

#281C38
#36271B
#1B3627

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 90° apart

#281C38 Quad Palette

Four colors evenly spaced on the wheel (tetradic) — rich schemes with multiple accents.

#281C38
#361B1D
#2B361B
#1B3634

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Accessibility

Color Blindness Simulation for #281C38

How Midnight Velvet reads across five kinds of color vision — a ✓ Friendly verdict means the color difference stays distinguishable for that vision type.

#281C38
#242430
#232331
#272C2B
#212121
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✓ Friendly Achromatopsia total color blindness ✓ Friendly

The dot marks the original color. Hover any shade to copy its hex.

Harmony overview

Color Harmonies for #281C38

The lead color from each harmony scheme, side by side — a shortcut to the full palettes above.

#2B361B
#341B36
#36271B
#361B1D
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#281C38 Nearby Colors

A step away in brightness, richness or shade — each still feels like the same color.

Midnight Velvet#332244
Midnight Monarch#221133
Sanctum of Shadows#443355
Midnight Monarch#110022
Quiet Abyss#221144
Black Velvet#222233
Voodoo#332233
Dark Prom Queen#331133

From the color-name library

Colors Similar to #281C38

The closest named colors to #281C38 — same mood, each with its own character.

Midnight Velvet#2A2243
Midnight Monarch#1C0F33
Black Market#222244
Dark Prom Queen#2B0F2E
Sanctum of Shadows#3C2F4E
Azulado#211D49
Midnight Pie#372D52
Pāua#2A2551
Dark Knight#151931
Nightwalker#161D3B
Silent Orbit#231C4D
Stormy Night#372354

Looking for more Blue shades? Browse Blue colors →

Inspiration

Explore Vibrant Images Featuring Midnight Velvet (#281c38)

Curated Unsplash photos that carry the mood of Midnight Velvet — hover any tile to download it or view the original.

Good to know

Frequently Asked Questions about #281C38

#281C38 is a cool color from the Indigo family. Its closest matched name is “Midnight Velvet”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(40, 28, 56); in HSL, hsl(266, 33%, 16%).
In RGB, #281C38 is rgb(40, 28, 56); in HSL it is hsl(266, 33%, 16%); and in CMYK — the model used for print — it is cmyk(29%, 50%, 0%, 78%).
#281C38 has a contrast ratio of 1.31:1 against black and 15.99:1 against white. For readability, white body text meets the WCAG AA threshold of 4.5:1 on it, while black does not.
The direct complement of #281C38 is #2B361B (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #281C38 in the palette sections above.