#1E40AF

#1E40AF

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

HEX

#1E40AF

RGB

30, 64, 175

HSL

226°, 71%, 40%

CMYK

83%, 63%, 0%, 31%

OKLCH

0.413, 0.213, 226°

Tailwind Class

bg-[#1e40af]

Live UI Component Preview

Preview how #1E40AF renders across real buttons, badges, cards, and hero elements.

CTA Button
Pill Badge
Featured Category
Active Card Border

Highlighted interactive container with #1E40AF accent.

Tints of #1E40AF (Lighter Steps)

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

Shades of #1E40AF (Darker Steps)

Created by progressively mixing #1E40AF 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 #1E40AF. 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.

#1E40AF
#AE8D1E

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 #1E40AF.

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

Explore Related Colors & Combinations

Discover complementary and analogous colors paired with #1E40AF.

Frequently Asked Questions about #1E40AF

What is the RGB value of #1E40AF?

The RGB value of #1E40AF is rgb(30, 64, 175). It is composed of 30 red, 64 green, and 175 blue light channels.

What is the CMYK equivalent of #1E40AF for printing?

For four-color process printing (offset and digital), #1E40AF translates to Cyan 83%, Magenta 63%, Yellow 0%, and Key (Black) 31%.

What colors harmonize best with #1E40AF?

The direct 180° complementary color is #AE8D1E. For softer and serene designs, its analogous neighbors are #1E88AE and #441EAE.

How do I use #1E40AF in CSS and Tailwind?

In standard CSS, use color: #1E40AF; or background-color: #1E40AF;. In Tailwind CSS, use arbitrary value syntax: bg-[#1e40af] or text-[#1e40af].