#20175E Color Information

Hex color code: #20175E

A intense blue shade, #20175E appears as (32, 23, 94) in RGB and (248°, 61%, 23%) in HSL. It is widely used in graphic design.

Try:
Color NameNavy
HEX
#20175E
RGB
32, 23, 94
HSL
248°, 61%, 23%
CMYK
66%, 76%, 0%, 63%

Shades

CSS Usage
color: #20175E;
background-color: #20175E;
border-color: #20175E;
box-shadow: 0 0 10px #20175E;
border: 2px solid #20175E;
Tailwind Usage
bg-[#20175E]
text-[#20175E]
border-[#20175E]
shadow-[0_0_10px_20175E]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #20175E, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #20175E; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #20175E; 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 #20175E; background-color: #20175E15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #20175E20; border-left: 4px solid #20175E; }

Link / Accent

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

a { color: #20175E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #20175E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

32, 23, 94

Red: 32 / Green: 23 / Blue: 94

HSL

248°, 61%, 23%

Hue: 248° / Saturation: 61% / Lightness: 23%

CMYK

66%, 76%, 0%, 63%

Cyan: 66% / Magenta: 76% / Yellow: 0% / Key: 63%

What color is #20175E?

#20175E is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #20175E to RGB:

rgb(32, 23, 94)HEX to RGB Converter →

HEX to HSL

Convert #20175E to HSL:

hsl(248, 61%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #20175E to CMYK:

cmyk(66%, 76%, 0%, 63%)Color Converter →

Color Meaning and Usage

A rich blue tone, #20175E has RGB (32, 23, 94) and HSL (248°, 61%, 23%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #20175E is #555E17, creating high-contrast pairings. For softer combinations, try analogous colors like #17315E.

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

Contrast with #20175E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #20175E?

#20175E is a rich blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #20175E?

#20175E in RGB is (32, 23, 94) - 32 red, 23 green, and 94 blue.

How to use #20175E in CSS?

Use #20175E directly in your CSS properties like color or background-color.

What colors go well with #20175E?

#555E17 (complementary), #17315E (analogous), and #0B0821 (lighter shade) work well with #20175E.