#152F60 Color Information

Hex color code: #152F60

A deep blue shade, #152F60 appears as (21, 47, 96) in RGB and (219°, 64%, 23%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#152F60
RGB
21, 47, 96
HSL
219°, 64%, 23%
CMYK
78%, 51%, 0%, 62%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #152F60; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 47, 96

Red: 21 / Green: 47 / Blue: 96

HSL

219°, 64%, 23%

Hue: 219° / Saturation: 64% / Lightness: 23%

CMYK

78%, 51%, 0%, 62%

Cyan: 78% / Magenta: 51% / Yellow: 0% / Key: 62%

What color is #152F60?

#152F60 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #152F60 to RGB:

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

HEX to HSL

Convert #152F60 to HSL:

hsl(219, 64%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #152F60 to CMYK:

cmyk(78%, 51%, 0%, 62%)Color Converter →

Color Meaning and Usage

A dark blue tone, #152F60 has RGB (21, 47, 96) and HSL (219°, 64%, 23%). 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 #152F60 is #604615, creating high-contrast pairings. For softer combinations, try analogous colors like #155560.

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

Contrast with #152F60

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #152F60?

#152F60 is a dark blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #152F60?

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

How to use #152F60 in CSS?

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

What colors go well with #152F60?

#604615 (complementary), #155560 (analogous), and #071021 (lighter shade) work well with #152F60.