#1B156F Color Information

Hex color code: #1B156F

#1B156F is a calming blue color. In RGB it is (27, 21, 111), and in HSL it is (244°, 68%, 26%). It is often used for branding and logos.

Try:
Color NameNavy
HEX
#1B156F
RGB
27, 21, 111
HSL
244°, 68%, 26%
CMYK
76%, 81%, 0%, 56%

Shades

CSS Usage
color: #1B156F;
background-color: #1B156F;
border-color: #1B156F;
box-shadow: 0 0 10px #1B156F;
border: 2px solid #1B156F;
Tailwind Usage
bg-[#1B156F]
text-[#1B156F]
border-[#1B156F]
shadow-[0_0_10px_1B156F]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1B156F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1B156F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1B156F; 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 #1B156F; background-color: #1B156F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1B156F20; border-left: 4px solid #1B156F; }

Link / Accent

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

a { color: #1B156F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1B156F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

27, 21, 111

Red: 27 / Green: 21 / Blue: 111

HSL

244°, 68%, 26%

Hue: 244° / Saturation: 68% / Lightness: 26%

CMYK

76%, 81%, 0%, 56%

Cyan: 76% / Magenta: 81% / Yellow: 0% / Key: 56%

What color is #1B156F?

#1B156F is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1B156F to RGB:

rgb(27, 21, 111)HEX to RGB Converter →

HEX to HSL

Convert #1B156F to HSL:

hsl(244, 68%, 26%)RGB to HSL Converter →

HEX to CMYK

Convert #1B156F to CMYK:

cmyk(76%, 81%, 0%, 56%)Color Converter →

Color Meaning and Usage

#1B156F is a cool blue color with RGB values of 27, 21, 111 and HSL of 244°, 68%, 26%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1B156F is #696F15, creating high-contrast pairings. For softer combinations, try analogous colors like #153C6F.

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

Contrast with #1B156F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1B156F?

#1B156F is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1B156F?

#1B156F in RGB is (27, 21, 111) - 27 red, 21 green, and 111 blue.

How to use #1B156F in CSS?

Use #1B156F directly in your CSS properties like color or background-color.

What colors go well with #1B156F?

#696F15 (complementary), #153C6F (analogous), and #0C092F (lighter shade) work well with #1B156F.