#154C9E Color Information

Hex color code: #154C9E

#154C9E is a eye-catching blue color. In RGB it is (21, 76, 158), and in HSL it is (216°, 77%, 35%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#154C9E
RGB
21, 76, 158
HSL
216°, 77%, 35%
CMYK
87%, 52%, 0%, 38%

Shades

CSS Usage
color: #154C9E;
background-color: #154C9E;
border-color: #154C9E;
box-shadow: 0 0 10px #154C9E;
border: 2px solid #154C9E;
Tailwind Usage
bg-[#154C9E]
text-[#154C9E]
border-[#154C9E]
shadow-[0_0_10px_154C9E]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #154C9E, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #154C9E; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #154C9E; 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 #154C9E; background-color: #154C9E15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #154C9E20; border-left: 4px solid #154C9E; }

Link / Accent

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

a { color: #154C9E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #154C9E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 76, 158

Red: 21 / Green: 76 / Blue: 158

HSL

216°, 77%, 35%

Hue: 216° / Saturation: 77% / Lightness: 35%

CMYK

87%, 52%, 0%, 38%

Cyan: 87% / Magenta: 52% / Yellow: 0% / Key: 38%

What color is #154C9E?

#154C9E is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #154C9E to RGB:

rgb(21, 76, 158)HEX to RGB Converter →

HEX to HSL

Convert #154C9E to HSL:

hsl(216, 77%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #154C9E to CMYK:

cmyk(87%, 52%, 0%, 38%)Color Converter →

Color Meaning and Usage

A eye-catching blue tone, #154C9E has RGB (21, 76, 158) and HSL (216°, 77%, 35%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #154C9E is #9E6715, creating high-contrast pairings. For softer combinations, try analogous colors like #15909E.

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

Contrast with #154C9E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #154C9E?

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

What is the RGB value of #154C9E?

#154C9E in RGB is (21, 76, 158) - 21 red, 76 green, and 158 blue.

How to use #154C9E in CSS?

Use #154C9E directly in your CSS properties like color or background-color.

What colors go well with #154C9E?

#9E6715 (complementary), #15909E (analogous), and #0C2B5A (lighter shade) work well with #154C9E.