#1B084E Color Information

Hex color code: #1B084E

A rich purple shade, #1B084E appears as (27, 8, 78) in RGB and (256°, 81%, 17%) in HSL. It is often used for branding and logos.

Try:
Color NameNavy
HEX
#1B084E
RGB
27, 8, 78
HSL
256°, 81%, 17%
CMYK
65%, 90%, 0%, 69%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1B084E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

27, 8, 78

Red: 27 / Green: 8 / Blue: 78

HSL

256°, 81%, 17%

Hue: 256° / Saturation: 81% / Lightness: 17%

CMYK

65%, 90%, 0%, 69%

Cyan: 65% / Magenta: 90% / Yellow: 0% / Key: 69%

What color is #1B084E?

#1B084E is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1B084E to RGB:

rgb(27, 8, 78)HEX to RGB Converter →

HEX to HSL

Convert #1B084E to HSL:

hsl(256, 81%, 17%)RGB to HSL Converter →

HEX to CMYK

Convert #1B084E to CMYK:

cmyk(65%, 90%, 0%, 69%)Color Converter →

Color Meaning and Usage

A rich purple tone, #1B084E has RGB (27, 8, 78) and HSL (256°, 81%, 17%). Known for evoking sophistication and elegance, this very dark shade is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1B084E is #3C4E08, creating high-contrast pairings. For softer combinations, try analogous colors like #08194E.

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

Contrast with #1B084E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1B084E?

#1B084E is a rich purple color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #1B084E?

#1B084E in RGB is (27, 8, 78) - 27 red, 8 green, and 78 blue.

How to use #1B084E in CSS?

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

What colors go well with #1B084E?

#3C4E08 (complementary), #08194E (analogous), and #030109 (lighter shade) work well with #1B084E.