#040B49

#040B49

Comprehensive color parameter breakdown, RGB/CMYK conversion, WCAG accessibility metrics, and harmonious palette pairings.

HEX

#040B49

RGB

4, 11, 73

HSL

234°, 90%, 15%

CMYK

95%, 85%, 0%, 71%

OKLCH

0.195, 0.27, 234°

Tailwind Class

bg-[#040b49]

Live UI Component Preview

Preview how #040B49 renders across real buttons, badges, cards, and hero elements.

CTA Button
Pill Badge
Featured Category
Active Card Border

Highlighted interactive container with #040B49 accent.

Tints of #040B49 (Lighter Steps)

Created by progressively blending #040B49 with pure white (#FFFFFF). Click any color to explore its dedicated color theory, or click copy to copy the hex code.

Shades of #040B49 (Darker Steps)

Created by progressively mixing #040B49 with pure black (#000000). Click any shade to inspect its full color profile, or copy the hex code directly.

Color Harmonies & Pairings

Scientifically calculated color schemes derived from the 360° color wheel relative to #040B49. Click any swatch to view its complete color profile.

Complementary (180° Opposite)

High Impact & Contrast

Directly across on the color wheel. Maximum visual tension, ideal for Call-to-Action (CTA) buttons and badges.

#040B49
#494204

Analogous (±30° Neighbors)

Harmonious & Gentle

Adjacent hues on the color wheel. Natural and serene, perfect for gradients, backgrounds, and art themes.

Triadic (120° Equilateral Triangle)

Vibrant & Balanced

Three equidistant hues around the wheel. Rich in color balance, ideal for multi-category dashboards and charts.

Tetradic (90° Rectangle)

Rich 4-Color Palette

Two complementary pairs. Offers rich variety when one color dominates and others serve as accents.

WCAG 2.1 Accessibility Contrast Checker

Official Web Content Accessibility Guidelines compliance ratings for #040B49.

White Text (#FFFFFF)
Contrast Ratio:18.26 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)
Black Text (#000000)
Contrast Ratio:1.15 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)

Explore Related Colors & Combinations

Discover complementary and analogous colors paired with #040B49.

Frequently Asked Questions about #040B49

What is the RGB value of #040B49?

The RGB value of #040B49 is rgb(4, 11, 73). It is composed of 4 red, 11 green, and 73 blue light channels.

What is the CMYK equivalent of #040B49 for printing?

For four-color process printing (offset and digital), #040B49 translates to Cyan 95%, Magenta 85%, Yellow 0%, and Key (Black) 71%.

What colors harmonize best with #040B49?

The direct 180° complementary color is #494204. For softer and serene designs, its analogous neighbors are #042D49 and #1F0449.

How do I use #040B49 in CSS and Tailwind?

In standard CSS, use color: #040B49; or background-color: #040B49;. In Tailwind CSS, use arbitrary value syntax: bg-[#040b49] or text-[#040b49].