Closest web-safe match: #333333

Color Details and Palettes for #31344C

Details about the color Midnight Masquerade#31344C

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

Blue family Cool WCAG ink: white
HEX #31344C RGB rgb(49, 52, 76) HSL hsl(233, 22%, 25%) CMYK cmyk(36%, 32%, 0%, 70%)

Color profile

About Color Hex #31344C

#31344C is a cool color from the Blue family, closest in name to “Midnight Masquerade”. In RGB it is rgb(49, 52, 76); in HSL, hsl(233, 22%, 25%).

The color Midnight Masquerade, with hexadecimal code #31344c, 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 Trust, Peace, Loyalty, Integrity and Tranquility. 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. At just 22% saturation, this near-neutral shade carries only a subtle hint of its underlying hue, making it versatile for large surfaces and professional contexts. Its low lightness of 25% 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 Trust, Peace, Loyalty, Integrity, or Tranquility. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 49, 52, 76 red · green · blue HSL 233° 22% 25% hue · sat · light HSV 233° 36% 30% design-app pickers CMYK 36 32 0 70 print inks, % Luminance 0.036 0 dark → 1 light On black 1.73:1 ✕ AA contrast ratio On white 12.17:1 ✓ AA contrast ratio Web-safe #333333 closest web-safe Best text white ideal foreground Character Vivid cool · blue family

The story of this color

History, Usage, Psychology & Design Ideas for #31344C

Midnight Masquerade (#31344C) belongs to the Blue color family.

With a dusty, low-saturation character, this color offers quiet complexity—neither bold nor faded. Dusty tones add vintage charm to retro-inspired designs and pair beautifully with metallic accents like copper or brass.

Historical Background

Blue's scarcity in nature made it a late addition to human color vocabulary—Homer's 'wine-dark sea' notably omits the word blue entirely. The breakthrough came with Egyptian Blue (~2200 BC) and later ultramarine from Afghan lapis lazuli, which Medieval artists hoarded for divine subjects. Synthetic ultramarine (1826) and cobalt blue democratized the color, enabling Impressionists like Monet and Renoir to paint blue-drenched landscapes affordably.

Design & Usage Tips

Blue is the most universally liked color and dominates corporate branding (Facebook, LinkedIn, IBM, Samsung). Use it to establish trust, competence, and professionalism. Lighter blues suit wellness and social apps, while darker blues convey authority and security. Avoid using blue for food branding—it suppresses appetite.

Sitting on the cool side of the spectrum (hue 233°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. At 22% 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

Blue lowers blood pressure and heart rate, promoting calm and focused thought. It signals reliability and integrity, which is why it is the default choice for banks, insurance companies, and government institutions. In UX, blue links and buttons feel intuitive because users have been trained by decades of web convention.

Its low lightness of 25% 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

Pair classic blue (#0047AB) with warm amber for a nautical or heritage brand. Use gradient blues (light-to-dark, top-to-bottom) for app onboarding screens that feel expansive and inviting. In data dashboards, blue is the safest primary chart color—it's distinct, professional, and colorblind-friendly.

Every format

#31344C Color Conversions

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

12 formats
HEX Web
#31344C

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(49, 52, 76)

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(233, 22%, 25%)

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(233, 36%, 30%)

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(233 19% 70%)

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(36%, 32%, 0%, 70%)

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(33.31% 0.043 278.33)

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

OKLab Modern
oklab(33.31% 0.006 -0.042)

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.41, a: 5.39, b: -15.16

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.41, C: 16.09, H: 289.57

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

XYZ CIE Science
X: 3.80, Y: 3.63, Z: 7.34

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
3224652

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 #31344C

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

Red 49/255 27.7% Green 52/255 29.4% Blue 76/255 42.9%

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

Ink coverage

CMYK Ink Levels & Print Guide for #31344C

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

36% CYAN 32% MAGENTA 0% YELLOW 70% 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 #31344C

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

Relative luminance 0.036
0 · dark1 · light

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

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

Developer shortcuts

Quick CSS Snippets for #31344C

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

midnight-masquerade.css
background-color: #31344C;
color: #31344C;
border: 2px solid #31344C;
background-color: rgb(49, 52, 76);
background-color: hsl(233, 22%, 25%);
--color: #31344C;

Shades · light to dark

#31344C Monochrome Palette

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

#EAEBED
#CCCCD2
#ADAEB7
#8E8F9D
#6F7182
#505267
#31344C
#2A2C41
#222435
#1B1D2A
#14151E
#0C0D13
#050508

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

Harmony · 180° apart

#31344C Complementary Palette

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

#31344C
#4E4B32

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

Harmony · adjacent hues

#31344C Analogic Palette

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

#31344C
#3C324E
#32434E
#4B324E
#324E4B
#4E3243
#324E3C

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

Harmony · 120° apart

#31344C Triadic Palette

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

#31344C
#4E3235
#354E32

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

Harmony · 90° apart

#31344C Quad Palette

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

#31344C
#4E3243
#4E4B32
#324E3C

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

Accessibility

Color Blindness Simulation for #31344C

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

#31344C
#323245
#323246
#314241
#353535
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 #31344C

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

#4E4B32
#3C324E
#4E3235
#4E3243
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#31344C Nearby Colors

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

Gun Powder#444455
Black Market#222244
Black Orchid#555566
The Count’s Black#112233
Midnight Escapade#333355
Shuriken#333344
Voodoo#443344
Midnight Escapade#223355

From the color-name library

Colors Similar to #31344C

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

Midnight Masquerade#2C2E47
Shuriken#333344
Mediaeval Blue#2E3858
Midnight Escapade#2B3458
Midnight Express#21263A
Total Eclipse#303543
Maharaja#3F354F
Genie#3E4364
Lava Stone#3C4151
Witches Cauldron#35343F
Storm Is Coming#3D3D63
Italian Grape#413D4B

Looking for more Blue shades? Browse Blue colors →

Inspiration

Explore Vibrant Images Featuring Midnight Masquerade (#31344c)

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

Good to know

Frequently Asked Questions about #31344C

#31344C is a cool color from the Blue family. Its closest matched name is “Midnight Masquerade”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(49, 52, 76); in HSL, hsl(233, 22%, 25%).
In RGB, #31344C is rgb(49, 52, 76); in HSL it is hsl(233, 22%, 25%); and in CMYK — the model used for print — it is cmyk(36%, 32%, 0%, 70%).
#31344C has a contrast ratio of 1.73:1 against black and 12.17: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 #31344C is #4E4B32 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #31344C in the palette sections above.