#152FD5 Color Information

Hex color code: #152FD5

The hex color #152FD5 is a vivid blue with RGB values of (21, 47, 213) and HSL of (232°, 82%, 46%). It is commonly used in modern UI design.

Try:
Color NameBlue
HEX
#152FD5
RGB
21, 47, 213
HSL
232°, 82%, 46%
CMYK
90%, 78%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #152FD5; 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 #152FD5; background-color: #152FD515; }

Alert / Toast

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

Link / Accent

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

a { color: #152FD5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #152FD5 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 47, 213

Red: 21 / Green: 47 / Blue: 213

HSL

232°, 82%, 46%

Hue: 232° / Saturation: 82% / Lightness: 46%

CMYK

90%, 78%, 0%, 16%

Cyan: 90% / Magenta: 78% / Yellow: 0% / Key: 16%

What color is #152FD5?

#152FD5 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #152FD5 to RGB:

rgb(21, 47, 213)HEX to RGB Converter →

HEX to HSL

Convert #152FD5 to HSL:

hsl(232, 82%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #152FD5 to CMYK:

cmyk(90%, 78%, 0%, 16%)Color Converter →

Color Meaning and Usage

A bold blue tone, #152FD5 has RGB (21, 47, 213) and HSL (232°, 82%, 46%). Known for evoking energy and excitement, this highly saturated hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #152FD5 is #D5BC15, creating high-contrast pairings. For softer combinations, try analogous colors like #158FD5.

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

Contrast with #152FD5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #152FD5?

#152FD5 is a bold blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #152FD5?

#152FD5 in RGB is (21, 47, 213) - 21 red, 47 green, and 213 blue.

How to use #152FD5 in CSS?

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

What colors go well with #152FD5?

#D5BC15 (complementary), #158FD5 (analogous), and #0E2090 (lighter shade) work well with #152FD5.