#1542BC Color Information

Hex color code: #1542BC

A bold blue shade, #1542BC appears as (21, 66, 188) in RGB and (224°, 80%, 41%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameRoyal Blue
HEX
#1542BC
RGB
21, 66, 188
HSL
224°, 80%, 41%
CMYK
89%, 65%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #1542BC; 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 #1542BC; background-color: #1542BC15; }

Alert / Toast

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

Link / Accent

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

a { color: #1542BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1542BC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 66, 188

Red: 21 / Green: 66 / Blue: 188

HSL

224°, 80%, 41%

Hue: 224° / Saturation: 80% / Lightness: 41%

CMYK

89%, 65%, 0%, 26%

Cyan: 89% / Magenta: 65% / Yellow: 0% / Key: 26%

What color is #1542BC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1542BC to RGB:

rgb(21, 66, 188)HEX to RGB Converter →

HEX to HSL

Convert #1542BC to HSL:

hsl(224, 80%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #1542BC to CMYK:

cmyk(89%, 65%, 0%, 26%)Color Converter →

Color Meaning and Usage

#1542BC is a eye-catching blue color with RGB values of 21, 66, 188 and HSL of 224°, 80%, 41%. 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 #1542BC is #BC9015, creating high-contrast pairings. For softer combinations, try analogous colors like #1595BC.

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

Contrast with #1542BC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1542BC?

#1542BC is a eye-catching blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1542BC?

#1542BC in RGB is (21, 66, 188) - 21 red, 66 green, and 188 blue.

How to use #1542BC in CSS?

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

What colors go well with #1542BC?

#BC9015 (complementary), #1595BC (analogous), and #0D2A77 (lighter shade) work well with #1542BC.