#151C7F Color Information

Hex color code: #151C7F

A eye-catching blue shade, #151C7F appears as (21, 28, 127) in RGB and (236°, 72%, 29%) in HSL. It is popular in mobile app design.

Try:
Color NameNavy
HEX
#151C7F
RGB
21, 28, 127
HSL
236°, 72%, 29%
CMYK
83%, 78%, 0%, 50%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #151C7F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 28, 127

Red: 21 / Green: 28 / Blue: 127

HSL

236°, 72%, 29%

Hue: 236° / Saturation: 72% / Lightness: 29%

CMYK

83%, 78%, 0%, 50%

Cyan: 83% / Magenta: 78% / Yellow: 0% / Key: 50%

What color is #151C7F?

#151C7F is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #151C7F to RGB:

rgb(21, 28, 127)HEX to RGB Converter →

HEX to HSL

Convert #151C7F to HSL:

hsl(236, 72%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #151C7F to CMYK:

cmyk(83%, 78%, 0%, 50%)Color Converter →

Color Meaning and Usage

#151C7F is a vivid blue color with RGB values of 21, 28, 127 and HSL of 236°, 72%, 29%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #151C7F is #7F7815, creating high-contrast pairings. For softer combinations, try analogous colors like #15517F.

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

Contrast with #151C7F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #151C7F?

#151C7F is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #151C7F?

#151C7F in RGB is (21, 28, 127) - 21 red, 28 green, and 127 blue.

How to use #151C7F in CSS?

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

What colors go well with #151C7F?

#7F7815 (complementary), #15517F (analogous), and #0A0D3D (lighter shade) work well with #151C7F.