#120C5F Color Information

Hex color code: #120C5F

A intense blue shade, #120C5F appears as (18, 12, 95) in RGB and (244°, 78%, 21%) in HSL. It is widely used in graphic design.

Try:
Color NameNavy
HEX
#120C5F
RGB
18, 12, 95
HSL
244°, 78%, 21%
CMYK
81%, 87%, 0%, 63%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #120C5F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #120C5F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #120C5F; 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 #120C5F; background-color: #120C5F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #120C5F20; border-left: 4px solid #120C5F; }

Link / Accent

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

a { color: #120C5F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #120C5F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 12, 95

Red: 18 / Green: 12 / Blue: 95

HSL

244°, 78%, 21%

Hue: 244° / Saturation: 78% / Lightness: 21%

CMYK

81%, 87%, 0%, 63%

Cyan: 81% / Magenta: 87% / Yellow: 0% / Key: 63%

What color is #120C5F?

#120C5F is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #120C5F to RGB:

rgb(18, 12, 95)HEX to RGB Converter →

HEX to HSL

Convert #120C5F to HSL:

hsl(244, 78%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #120C5F to CMYK:

cmyk(81%, 87%, 0%, 63%)Color Converter →

Color Meaning and Usage

#120C5F is a dramatic blue color with RGB values of 18, 12, 95 and HSL of 244°, 78%, 21%. This blue-purple hue evokes creativity and luxury, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #120C5F is #5A5F0C, creating high-contrast pairings. For softer combinations, try analogous colors like #0C305F.

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

Contrast with #120C5F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #120C5F?

#120C5F is a dramatic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #120C5F?

#120C5F in RGB is (18, 12, 95) - 18 red, 12 green, and 95 blue.

How to use #120C5F in CSS?

Use #120C5F directly in your CSS properties like color or background-color.

What colors go well with #120C5F?

#5A5F0C (complementary), #0C305F (analogous), and #05031B (lighter shade) work well with #120C5F.