#122981 Color Information

Hex color code: #122981

#122981 is a eye-catching blue color. In RGB it is (18, 41, 129), and in HSL it is (228°, 76%, 29%). It is popular in mobile app design.

Try:
Color NameNavy
HEX
#122981
RGB
18, 41, 129
HSL
228°, 76%, 29%
CMYK
86%, 68%, 0%, 49%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #122981; 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 #122981; background-color: #12298115; }

Alert / Toast

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

Link / Accent

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

a { color: #122981; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #122981 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 41, 129

Red: 18 / Green: 41 / Blue: 129

HSL

228°, 76%, 29%

Hue: 228° / Saturation: 76% / Lightness: 29%

CMYK

86%, 68%, 0%, 49%

Cyan: 86% / Magenta: 68% / Yellow: 0% / Key: 49%

What color is #122981?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #122981 to RGB:

rgb(18, 41, 129)HEX to RGB Converter →

HEX to HSL

Convert #122981 to HSL:

hsl(228, 76%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #122981 to CMYK:

cmyk(86%, 68%, 0%, 49%)Color Converter →

Color Meaning and Usage

#122981 is a dynamic blue color with RGB values of 18, 41, 129 and HSL of 228°, 76%, 29%. 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 #122981 is #826C12, creating high-contrast pairings. For softer combinations, try analogous colors like #126082.

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

Contrast with #122981

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #122981?

#122981 is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #122981?

#122981 in RGB is (18, 41, 129) - 18 red, 41 green, and 129 blue.

How to use #122981 in CSS?

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

What colors go well with #122981?

#826C12 (complementary), #126082 (analogous), and #09133F (lighter shade) work well with #122981.