#151FD5 Color Information

Hex color code: #151FD5

The hex color #151FD5 is a eye-catching blue with RGB values of (21, 31, 213) and HSL of (237°, 82%, 46%). It is widely used in graphic design.

Try:
Color NameBlue
HEX
#151FD5
RGB
21, 31, 213
HSL
237°, 82%, 46%
CMYK
90%, 85%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #151FD5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 31, 213

Red: 21 / Green: 31 / Blue: 213

HSL

237°, 82%, 46%

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

CMYK

90%, 85%, 0%, 16%

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

What color is #151FD5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #151FD5 to RGB:

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

HEX to HSL

Convert #151FD5 to HSL:

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

HEX to CMYK

Convert #151FD5 to CMYK:

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

Color Meaning and Usage

#151FD5 is a vivid blue color with RGB values of 21, 31, 213 and HSL of 237°, 82%, 46%. This highly saturated hue evokes energy and excitement, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #151FD5 is #D5CC15, creating high-contrast pairings. For softer combinations, try analogous colors like #157FD5.

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

Contrast with #151FD5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #151FD5?

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

What is the RGB value of #151FD5?

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

How to use #151FD5 in CSS?

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

What colors go well with #151FD5?

#D5CC15 (complementary), #157FD5 (analogous), and #0E1590 (lighter shade) work well with #151FD5.