#21549C Color Information

Hex color code: #21549C

#21549C is a peaceful blue color. In RGB it is (33, 84, 156), and in HSL it is (215°, 65%, 37%). It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#21549C
RGB
33, 84, 156
HSL
215°, 65%, 37%
CMYK
79%, 46%, 0%, 39%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #21549C; 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 #21549C; background-color: #21549C15; }

Alert / Toast

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

Link / Accent

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

a { color: #21549C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #21549C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

33, 84, 156

Red: 33 / Green: 84 / Blue: 156

HSL

215°, 65%, 37%

Hue: 215° / Saturation: 65% / Lightness: 37%

CMYK

79%, 46%, 0%, 39%

Cyan: 79% / Magenta: 46% / Yellow: 0% / Key: 39%

What color is #21549C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #21549C to RGB:

rgb(33, 84, 156)HEX to RGB Converter →

HEX to HSL

Convert #21549C to HSL:

hsl(215, 65%, 37%)RGB to HSL Converter →

HEX to CMYK

Convert #21549C to CMYK:

cmyk(79%, 46%, 0%, 39%)Color Converter →

Color Meaning and Usage

A serene blue tone, #21549C has RGB (33, 84, 156) and HSL (215°, 65%, 37%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #21549C is #9C6921, creating high-contrast pairings. For softer combinations, try analogous colors like #21919C.

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

Contrast with #21549C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #21549C?

#21549C is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #21549C?

#21549C in RGB is (33, 84, 156) - 33 red, 84 green, and 156 blue.

How to use #21549C in CSS?

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

What colors go well with #21549C?

#9C6921 (complementary), #21919C (analogous), and #14325D (lighter shade) work well with #21549C.