#12115F Color Information

Hex color code: #12115F

The hex color #12115F is a dramatic blue with RGB values of (18, 17, 95) and HSL of (241°, 70%, 22%). It is typically applied in digital products.

Try:
Color NameNavy
HEX
#12115F
RGB
18, 17, 95
HSL
241°, 70%, 22%
CMYK
81%, 82%, 0%, 63%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #12115F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #12115F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #12115F; 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 #12115F; background-color: #12115F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #12115F20; border-left: 4px solid #12115F; }

Link / Accent

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

a { color: #12115F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #12115F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 17, 95

Red: 18 / Green: 17 / Blue: 95

HSL

241°, 70%, 22%

Hue: 241° / Saturation: 70% / Lightness: 22%

CMYK

81%, 82%, 0%, 63%

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

What color is #12115F?

#12115F is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #12115F to RGB:

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

HEX to HSL

Convert #12115F to HSL:

hsl(241, 70%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #12115F to CMYK:

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

Color Meaning and Usage

A dark blue tone, #12115F has RGB (18, 17, 95) and HSL (241°, 70%, 22%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #12115F is #5E5F11, creating high-contrast pairings. For softer combinations, try analogous colors like #11375F.

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

Contrast with #12115F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #12115F?

#12115F is a dark blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #12115F?

#12115F in RGB is (18, 17, 95) - 18 red, 17 green, and 95 blue.

How to use #12115F in CSS?

Use #12115F directly in your CSS properties like color or background-color.

What colors go well with #12115F?

#5E5F11 (complementary), #11375F (analogous), and #06051E (lighter shade) work well with #12115F.