#21148F Color Information

Hex color code: #21148F

#21148F is a striking blue color. In RGB it is (33, 20, 143), and in HSL it is (246°, 75%, 32%). It is often used for branding and logos.

Try:
Color NameNavy
HEX
#21148F
RGB
33, 20, 143
HSL
246°, 75%, 32%
CMYK
77%, 86%, 0%, 44%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #21148F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

33, 20, 143

Red: 33 / Green: 20 / Blue: 143

HSL

246°, 75%, 32%

Hue: 246° / Saturation: 75% / Lightness: 32%

CMYK

77%, 86%, 0%, 44%

Cyan: 77% / Magenta: 86% / Yellow: 0% / Key: 44%

What color is #21148F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #21148F to RGB:

rgb(33, 20, 143)HEX to RGB Converter →

HEX to HSL

Convert #21148F to HSL:

hsl(246, 75%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #21148F to CMYK:

cmyk(77%, 86%, 0%, 44%)Color Converter →

Color Meaning and Usage

#21148F is a bold blue color with RGB values of 33, 20, 143 and HSL of 246°, 75%, 32%. This blue-purple hue evokes creativity and luxury, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #21148F is #838F14, creating high-contrast pairings. For softer combinations, try analogous colors like #14458F.

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

Contrast with #21148F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #21148F?

#21148F is a bold blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #21148F?

#21148F in RGB is (33, 20, 143) - 33 red, 20 green, and 143 blue.

How to use #21148F in CSS?

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

What colors go well with #21148F?

#838F14 (complementary), #14458F (analogous), and #110B4C (lighter shade) work well with #21148F.