#0C4A6E

#0C4A6E

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

HEX

#0C4A6E

RGB

12, 74, 110

HSL

202°, 80%, 24%

CMYK

89%, 33%, 0%, 57%

OKLCH

0.394, 0.24, 202°

Tailwind Class

bg-[#0c4a6e]

Live UI Component Preview

Preview how #0C4A6E renders across real buttons, badges, cards, and hero elements.

CTA Button
Pill Badge
Featured Category
Active Card Border

Highlighted interactive container with #0C4A6E accent.

Tints of #0C4A6E (Lighter Steps)

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

Shades of #0C4A6E (Darker Steps)

Created by progressively mixing #0C4A6E 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 #0C4A6E. 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.

#0C4A6E
#6E300C

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 #0C4A6E.

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

Explore Related Colors & Combinations

Discover complementary and analogous colors paired with #0C4A6E.

Frequently Asked Questions about #0C4A6E

What is the RGB value of #0C4A6E?

The RGB value of #0C4A6E is rgb(12, 74, 110). It is composed of 12 red, 74 green, and 110 blue light channels.

What is the CMYK equivalent of #0C4A6E for printing?

For four-color process printing (offset and digital), #0C4A6E translates to Cyan 89%, Magenta 33%, Yellow 0%, and Key (Black) 57%.

What colors harmonize best with #0C4A6E?

The direct 180° complementary color is #6E300C. For softer and serene designs, its analogous neighbors are #0C6E61 and #0C196E.

How do I use #0C4A6E in CSS and Tailwind?

In standard CSS, use color: #0C4A6E; or background-color: #0C4A6E;. In Tailwind CSS, use arbitrary value syntax: bg-[#0c4a6e] or text-[#0c4a6e].