#154FCB Color Information

Hex color code: #154FCB

A vivid blue shade, #154FCB appears as (21, 79, 203) in RGB and (221°, 81%, 44%) in HSL. It is commonly used in modern UI design.

Try:
Color NameRoyal Blue
HEX
#154FCB
RGB
21, 79, 203
HSL
221°, 81%, 44%
CMYK
90%, 61%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #154FCB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 79, 203

Red: 21 / Green: 79 / Blue: 203

HSL

221°, 81%, 44%

Hue: 221° / Saturation: 81% / Lightness: 44%

CMYK

90%, 61%, 0%, 20%

Cyan: 90% / Magenta: 61% / Yellow: 0% / Key: 20%

What color is #154FCB?

#154FCB is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #154FCB to RGB:

rgb(21, 79, 203)HEX to RGB Converter →

HEX to HSL

Convert #154FCB to HSL:

hsl(221, 81%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #154FCB to CMYK:

cmyk(90%, 61%, 0%, 20%)Color Converter →

Color Meaning and Usage

A dynamic blue tone, #154FCB has RGB (21, 79, 203) and HSL (221°, 81%, 44%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #154FCB is #CB9215, creating high-contrast pairings. For softer combinations, try analogous colors like #15AACB.

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

Contrast with #154FCB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #154FCB?

#154FCB is a dynamic blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #154FCB?

#154FCB in RGB is (21, 79, 203) - 21 red, 79 green, and 203 blue.

How to use #154FCB in CSS?

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

What colors go well with #154FCB?

#CB9215 (complementary), #15AACB (analogous), and #0E3486 (lighter shade) work well with #154FCB.