#201872 Color Information

Hex color code: #201872

#201872 is a tranquil blue color. In RGB it is (32, 24, 114), and in HSL it is (245°, 65%, 27%). It is widely used in graphic design.

Try:
Color NameNavy
HEX
#201872
RGB
32, 24, 114
HSL
245°, 65%, 27%
CMYK
72%, 79%, 0%, 55%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #201872; 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 #201872; background-color: #20187215; }

Alert / Toast

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

Link / Accent

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

a { color: #201872; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #201872 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

32, 24, 114

Red: 32 / Green: 24 / Blue: 114

HSL

245°, 65%, 27%

Hue: 245° / Saturation: 65% / Lightness: 27%

CMYK

72%, 79%, 0%, 55%

Cyan: 72% / Magenta: 79% / Yellow: 0% / Key: 55%

What color is #201872?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #201872 to RGB:

rgb(32, 24, 114)HEX to RGB Converter →

HEX to HSL

Convert #201872 to HSL:

hsl(245, 65%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #201872 to CMYK:

cmyk(72%, 79%, 0%, 55%)Color Converter →

Color Meaning and Usage

A serene blue tone, #201872 has RGB (32, 24, 114) and HSL (245°, 65%, 27%). 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 #201872 is #6A7218, creating high-contrast pairings. For softer combinations, try analogous colors like #183D72.

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

Contrast with #201872

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #201872?

#201872 is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #201872?

#201872 in RGB is (32, 24, 114) - 32 red, 24 green, and 114 blue.

How to use #201872 in CSS?

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

What colors go well with #201872?

#6A7218 (complementary), #183D72 (analogous), and #0E0B32 (lighter shade) work well with #201872.