Closest web-safe match: #333366

Color Details and Palettes for #40286B

Details about the color Her Highness#40286B

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

Indigo family Cool WCAG ink: white
HEX #40286B RGB rgb(64, 40, 107) HSL hsl(261, 46%, 29%) CMYK cmyk(40%, 63%, 0%, 58%)

Color profile

About Color Hex #40286B

#40286B is a cool color from the Indigo family, closest in name to “Her Highness”. In RGB it is rgb(64, 40, 107); in HSL, hsl(261, 46%, 29%).

The color Her Highness, with hexadecimal code #40286b, 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 46%, it has a softened, muted quality that lends sophistication and works well for backgrounds and secondary elements. Its low lightness of 29% produces a deep, rich appearance—conveying gravity and luxury, particularly effective in dark-mode designs and premium packaging. 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 64, 40, 107 red · green · blue HSL 261° 46% 29% hue · sat · light HSV 261° 63% 42% design-app pickers CMYK 40 63 0 58 print inks, % Luminance 0.037 0 dark → 1 light On black 1.73:1 ✕ AA contrast ratio On white 12.11:1 ✓ AA contrast ratio Web-safe #333366 closest web-safe Best text white ideal foreground Character Vivid cool · indigo family

The story of this color

History, Usage, Psychology & Design Ideas for #40286B

Her Highness (#40286B) 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 261°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 46% 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 29% 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

#40286B Color Conversions

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

12 formats
HEX Web
#40286B

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(64, 40, 107)

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(261, 46%, 29%)

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(261, 63%, 42%)

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(261 16% 58%)

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(40%, 63%, 0%, 58%)

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(34.40% 0.112 296.57)

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

OKLab Modern
oklab(34.40% 0.050 -0.100)

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: 22.55, a: 27.56, b: -35.27

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

LCH Perceptual
L: 22.55, C: 44.76, H: 308.01

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

XYZ CIE Science
X: 5.53, Y: 3.67, Z: 14.33

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
4204651

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 #40286B

How much red, green and blue light mixes into Her Highness.

Red 64/255 30.3% Green 40/255 19.0% Blue 107/255 50.7%

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

Ink coverage

CMYK Ink Levels & Print Guide for #40286B

Ink needed to reproduce Her Highness in four-color print. Heaviest ink: Magenta.

40% CYAN 63% MAGENTA 0% YELLOW 58% 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 #40286B

How bright Her Highness is, and how far black and white text clear each WCAG bar.

Relative luminance 0.037
0 · dark1 · light

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

Aa Black text 1.73:1 ✕ AA ✕ AAA ✕ Large
Aa White text 12.11:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #40286B

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

her-highness.css
background-color: #40286B;
color: #40286B;
border: 2px solid #40286B;
background-color: rgb(64, 40, 107);
background-color: hsl(261, 46%, 29%);
--color: #40286B;

Shades · light to dark

#40286B Monochrome Palette

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

#ECE9F0
#CFC9DA
#B3A9C4
#9689AE
#796997
#5D4881
#40286B
#36225B
#2D1C4B
#23163B
#1A102B
#100A1B
#06040B

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

Harmony · 180° apart

#40286B Complementary Palette

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

#40286B
#546C28

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

Harmony · adjacent hues

#40286B Analogic Palette

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

#40286B
#62286C
#28326C
#6C2854
#28546C
#6C2832
#286C62

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

Harmony · 120° apart

#40286B Triadic Palette

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

#40286B
#6C4028
#286C40

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

Harmony · 90° apart

#40286B Quad Palette

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

#40286B
#6C2832
#546C28
#286C62

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

Accessibility

Color Blindness Simulation for #40286B

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

#40286B
#373957
#36355B
#3F4E4B
#323232
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✓ Friendly Achromatopsia total color blindness ✕ Not friendly

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

Harmony overview

Color Harmonies for #40286B

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

#546C28
#62286C
#6C4028
#6C2832
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#40286B Nearby Colors

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

Kingfisher Daisy#553377
Stormy Night#332255
Lords of the Night#664488
Voldemort#221155
Explorer of the Galaxies#442277
Meteorite#443366
Elegant Purple Gown#552266
Good Karma#333377

From the color-name library

Colors Similar to #40286B

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

Her Highness#432E6F
Fading Horizon#442266
Mystic Nights#4B2C74
Dark Dreams#332266
Indie Go#2E2364
Purple Seduction#522A6F
Explorer of the Galaxies#3A1F76
Galactic Compass#48357B
Deep Space Rodeo#332277
Stormy Night#372354
Fabric of Space#341758
Wicked Purple#37115C

Looking for more Blue shades? Browse Blue colors →

Inspiration

Explore Vibrant Images Featuring Her Highness (#40286b)

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

Good to know

Frequently Asked Questions about #40286B

#40286B is a cool color from the Indigo family. Its closest matched name is “Her Highness”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(64, 40, 107); in HSL, hsl(261, 46%, 29%).
In RGB, #40286B is rgb(64, 40, 107); in HSL it is hsl(261, 46%, 29%); and in CMYK — the model used for print — it is cmyk(40%, 63%, 0%, 58%).
#40286B has a contrast ratio of 1.73:1 against black and 12.11: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 #40286B is #546C28 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #40286B in the palette sections above.