#21189A Color Information

Hex color code: #21189A

#21189A is a striking blue color. In RGB it is (33, 24, 154), and in HSL it is (244°, 73%, 35%). It is often used for branding and logos.

Try:
Color NameNavy
HEX
#21189A
RGB
33, 24, 154
HSL
244°, 73%, 35%
CMYK
79%, 84%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #21189A; 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 #21189A; background-color: #21189A15; }

Alert / Toast

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

Link / Accent

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

a { color: #21189A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #21189A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

33, 24, 154

Red: 33 / Green: 24 / Blue: 154

HSL

244°, 73%, 35%

Hue: 244° / Saturation: 73% / Lightness: 35%

CMYK

79%, 84%, 0%, 40%

Cyan: 79% / Magenta: 84% / Yellow: 0% / Key: 40%

What color is #21189A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #21189A to RGB:

rgb(33, 24, 154)HEX to RGB Converter →

HEX to HSL

Convert #21189A to HSL:

hsl(244, 73%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #21189A to CMYK:

cmyk(79%, 84%, 0%, 40%)Color Converter →

Color Meaning and Usage

#21189A is a vivid blue color with RGB values of 33, 24, 154 and HSL of 244°, 73%, 35%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #21189A is #929A18, creating high-contrast pairings. For softer combinations, try analogous colors like #18519A.

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

Contrast with #21189A

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 #21189A?

#21189A is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #21189A?

#21189A in RGB is (33, 24, 154) - 33 red, 24 green, and 154 blue.

How to use #21189A in CSS?

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

What colors go well with #21189A?

#929A18 (complementary), #18519A (analogous), and #130E58 (lighter shade) work well with #21189A.