#1C508D Color Information

Hex color code: #1C508D

The hex color #1C508D is a serene blue with RGB values of (28, 80, 141) and HSL of (212°, 67%, 33%). It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#1C508D
RGB
28, 80, 141
HSL
212°, 67%, 33%
CMYK
80%, 43%, 0%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1C508D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

28, 80, 141

Red: 28 / Green: 80 / Blue: 141

HSL

212°, 67%, 33%

Hue: 212° / Saturation: 67% / Lightness: 33%

CMYK

80%, 43%, 0%, 45%

Cyan: 80% / Magenta: 43% / Yellow: 0% / Key: 45%

What color is #1C508D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1C508D to RGB:

rgb(28, 80, 141)HEX to RGB Converter →

HEX to HSL

Convert #1C508D to HSL:

hsl(212, 67%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #1C508D to CMYK:

cmyk(80%, 43%, 0%, 45%)Color Converter →

Color Meaning and Usage

A cool blue tone, #1C508D has RGB (28, 80, 141) and HSL (212°, 67%, 33%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1C508D is #8D581C, creating high-contrast pairings. For softer combinations, try analogous colors like #1C898D.

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

Contrast with #1C508D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1C508D?

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

What is the RGB value of #1C508D?

#1C508D in RGB is (28, 80, 141) - 28 red, 80 green, and 141 blue.

How to use #1C508D in CSS?

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

What colors go well with #1C508D?

#8D581C (complementary), #1C898D (analogous), and #0F2C4D (lighter shade) work well with #1C508D.