#312E81

#312E81

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

HEX

#312E81

RGB

49, 46, 129

HSL

242°, 47%, 34%

CMYK

62%, 64%, 0%, 49%

OKLCH

0.347, 0.141, 242°

Tailwind Class

bg-[#312e81]

Live UI Component Preview

Preview how #312E81 renders across real buttons, badges, cards, and hero elements.

CTA Button
Pill Badge
Featured Category
Active Card Border

Highlighted interactive container with #312E81 accent.

Tints of #312E81 (Lighter Steps)

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

Shades of #312E81 (Darker Steps)

Created by progressively mixing #312E81 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 #312E81. 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.

#312E81
#7D7F2E

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 #312E81.

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

Explore Related Colors & Combinations

Discover complementary and analogous colors paired with #312E81.

Frequently Asked Questions about #312E81

What is the RGB value of #312E81?

The RGB value of #312E81 is rgb(49, 46, 129). It is composed of 49 red, 46 green, and 129 blue light channels.

What is the CMYK equivalent of #312E81 for printing?

For four-color process printing (offset and digital), #312E81 translates to Cyan 62%, Magenta 64%, Yellow 0%, and Key (Black) 49%.

What colors harmonize best with #312E81?

The direct 180° complementary color is #7D7F2E. For softer and serene designs, its analogous neighbors are #2E547F and #592E7F.

How do I use #312E81 in CSS and Tailwind?

In standard CSS, use color: #312E81; or background-color: #312E81;. In Tailwind CSS, use arbitrary value syntax: bg-[#312e81] or text-[#312e81].