#0C104F Color Information

Hex color code: #0C104F

#0C104F is a rich blue color. In RGB it is (12, 16, 79), and in HSL it is (236°, 74%, 18%). It is often used for branding and logos.

Try:
Color NameNavy
HEX
#0C104F
RGB
12, 16, 79
HSL
236°, 74%, 18%
CMYK
85%, 80%, 0%, 69%

Shades

CSS Usage
color: #0C104F;
background-color: #0C104F;
border-color: #0C104F;
box-shadow: 0 0 10px #0C104F;
border: 2px solid #0C104F;
Tailwind Usage
bg-[#0C104F]
text-[#0C104F]
border-[#0C104F]
shadow-[0_0_10px_0C104F]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #0C104F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #0C104F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #0C104F; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #0C104F; background-color: #0C104F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #0C104F20; border-left: 4px solid #0C104F; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #0C104F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #0C104F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

12, 16, 79

Red: 12 / Green: 16 / Blue: 79

HSL

236°, 74%, 18%

Hue: 236° / Saturation: 74% / Lightness: 18%

CMYK

85%, 80%, 0%, 69%

Cyan: 85% / Magenta: 80% / Yellow: 0% / Key: 69%

What color is #0C104F?

#0C104F is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #0C104F to RGB:

rgb(12, 16, 79)HEX to RGB Converter →

HEX to HSL

Convert #0C104F to HSL:

hsl(236, 74%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #0C104F to CMYK:

cmyk(85%, 80%, 0%, 69%)Color Converter →

Color Meaning and Usage

#0C104F is a dramatic blue color with RGB values of 12, 16, 79 and HSL of 236°, 74%, 18%. This very dark shade evokes sophistication and elegance, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #0C104F is #504B0C, creating high-contrast pairings. For softer combinations, try analogous colors like #0C3250.

Use #0C104F in CSS: color: #0C104F or background-color: #0C104F. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #0C104F

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.20:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #0C104F?

#0C104F is a dramatic blue color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #0C104F?

#0C104F in RGB is (12, 16, 79) - 12 red, 16 green, and 79 blue.

How to use #0C104F in CSS?

Use #0C104F directly in your CSS properties like color or background-color.

What colors go well with #0C104F?

#504B0C (complementary), #0C3250 (analogous), and #02030D (lighter shade) work well with #0C104F.