#1217B5 Color Information

Hex color code: #1217B5

#1217B5 is a bold blue color. In RGB it is (18, 23, 181), and in HSL it is (238°, 82%, 39%). It is frequently seen in web interfaces.

Try:
Color NameNavy
HEX
#1217B5
RGB
18, 23, 181
HSL
238°, 82%, 39%
CMYK
90%, 87%, 0%, 29%

Shades

CSS Usage
color: #1217B5;
background-color: #1217B5;
border-color: #1217B5;
box-shadow: 0 0 10px #1217B5;
border: 2px solid #1217B5;
Tailwind Usage
bg-[#1217B5]
text-[#1217B5]
border-[#1217B5]
shadow-[0_0_10px_1217B5]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1217B5, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1217B5; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1217B5; 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 #1217B5; background-color: #1217B515; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1217B520; border-left: 4px solid #1217B5; }

Link / Accent

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

a { color: #1217B5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1217B5 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 23, 181

Red: 18 / Green: 23 / Blue: 181

HSL

238°, 82%, 39%

Hue: 238° / Saturation: 82% / Lightness: 39%

CMYK

90%, 87%, 0%, 29%

Cyan: 90% / Magenta: 87% / Yellow: 0% / Key: 29%

What color is #1217B5?

#1217B5 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1217B5 to RGB:

rgb(18, 23, 181)HEX to RGB Converter →

HEX to HSL

Convert #1217B5 to HSL:

hsl(238, 82%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #1217B5 to CMYK:

cmyk(90%, 87%, 0%, 29%)Color Converter →

Color Meaning and Usage

A bold blue tone, #1217B5 has RGB (18, 23, 181) and HSL (238°, 82%, 39%). Known for evoking energy and excitement, this highly saturated hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1217B5 is #B5B012, creating high-contrast pairings. For softer combinations, try analogous colors like #1269B5.

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

Contrast with #1217B5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1217B5?

#1217B5 is a bold blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #1217B5?

#1217B5 in RGB is (18, 23, 181) - 18 red, 23 green, and 181 blue.

How to use #1217B5 in CSS?

Use #1217B5 directly in your CSS properties like color or background-color.

What colors go well with #1217B5?

#B5B012 (complementary), #1269B5 (analogous), and #0B0E6F (lighter shade) work well with #1217B5.