#1C28AB Color Information

Hex color code: #1C28AB

The hex color #1C28AB is a vivid blue with RGB values of (28, 40, 171) and HSL of (235°, 72%, 39%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Blue
HEX
#1C28AB
RGB
28, 40, 171
HSL
235°, 72%, 39%
CMYK
84%, 77%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1C28AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

28, 40, 171

Red: 28 / Green: 40 / Blue: 171

HSL

235°, 72%, 39%

Hue: 235° / Saturation: 72% / Lightness: 39%

CMYK

84%, 77%, 0%, 33%

Cyan: 84% / Magenta: 77% / Yellow: 0% / Key: 33%

What color is #1C28AB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1C28AB to RGB:

rgb(28, 40, 171)HEX to RGB Converter →

HEX to HSL

Convert #1C28AB to HSL:

hsl(235, 72%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #1C28AB to CMYK:

cmyk(84%, 77%, 0%, 33%)Color Converter →

Color Meaning and Usage

A dynamic blue tone, #1C28AB has RGB (28, 40, 171) and HSL (235°, 72%, 39%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1C28AB is #AB9F1C, creating high-contrast pairings. For softer combinations, try analogous colors like #1C6FAB.

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

Contrast with #1C28AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1C28AB?

#1C28AB is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1C28AB?

#1C28AB in RGB is (28, 40, 171) - 28 red, 40 green, and 171 blue.

How to use #1C28AB in CSS?

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

What colors go well with #1C28AB?

#AB9F1C (complementary), #1C6FAB (analogous), and #111869 (lighter shade) work well with #1C28AB.