#1B289D Color Information

Hex color code: #1B289D

#1B289D is a eye-catching blue color. In RGB it is (27, 40, 157), and in HSL it is (234°, 71%, 36%). It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#1B289D
RGB
27, 40, 157
HSL
234°, 71%, 36%
CMYK
83%, 75%, 0%, 38%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1B289D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

27, 40, 157

Red: 27 / Green: 40 / Blue: 157

HSL

234°, 71%, 36%

Hue: 234° / Saturation: 71% / Lightness: 36%

CMYK

83%, 75%, 0%, 38%

Cyan: 83% / Magenta: 75% / Yellow: 0% / Key: 38%

What color is #1B289D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1B289D to RGB:

rgb(27, 40, 157)HEX to RGB Converter →

HEX to HSL

Convert #1B289D to HSL:

hsl(234, 71%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #1B289D to CMYK:

cmyk(83%, 75%, 0%, 38%)Color Converter →

Color Meaning and Usage

#1B289D is a striking blue color with RGB values of 27, 40, 157 and HSL of 234°, 71%, 36%. This blue-purple hue evokes creativity and luxury, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1B289D is #9D901B, creating high-contrast pairings. For softer combinations, try analogous colors like #1B699D.

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

Contrast with #1B289D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1B289D?

#1B289D is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1B289D?

#1B289D in RGB is (27, 40, 157) - 27 red, 40 green, and 157 blue.

How to use #1B289D in CSS?

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

What colors go well with #1B289D?

#9D901B (complementary), #1B699D (analogous), and #10175C (lighter shade) work well with #1B289D.