#1B166A Color Information

Hex color code: #1B166A

The hex color #1B166A is a tranquil blue with RGB values of (27, 22, 106) and HSL of (244°, 66%, 25%). It is widely used in graphic design.

Try:
Color NameNavy
HEX
#1B166A
RGB
27, 22, 106
HSL
244°, 66%, 25%
CMYK
75%, 79%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1B166A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

27, 22, 106

Red: 27 / Green: 22 / Blue: 106

HSL

244°, 66%, 25%

Hue: 244° / Saturation: 66% / Lightness: 25%

CMYK

75%, 79%, 0%, 58%

Cyan: 75% / Magenta: 79% / Yellow: 0% / Key: 58%

What color is #1B166A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1B166A to RGB:

rgb(27, 22, 106)HEX to RGB Converter →

HEX to HSL

Convert #1B166A to HSL:

hsl(244, 66%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #1B166A to CMYK:

cmyk(75%, 79%, 0%, 58%)Color Converter →

Color Meaning and Usage

A serene blue tone, #1B166A has RGB (27, 22, 106) and HSL (244°, 66%, 25%). Known for evoking creativity and luxury, this blue-purple hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1B166A is #646A16, creating high-contrast pairings. For softer combinations, try analogous colors like #163A6A.

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

Contrast with #1B166A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1B166A?

#1B166A is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1B166A?

#1B166A in RGB is (27, 22, 106) - 27 red, 22 green, and 106 blue.

How to use #1B166A in CSS?

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

What colors go well with #1B166A?

#646A16 (complementary), #163A6A (analogous), and #0B092A (lighter shade) work well with #1B166A.