#204F8D Color Information

Hex color code: #204F8D

#204F8D is a serene blue color. In RGB it is (32, 79, 141), and in HSL it is (214°, 63%, 34%). It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#204F8D
RGB
32, 79, 141
HSL
214°, 63%, 34%
CMYK
77%, 44%, 0%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #204F8D; 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 #204F8D; background-color: #204F8D15; }

Alert / Toast

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

Link / Accent

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

a { color: #204F8D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #204F8D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

32, 79, 141

Red: 32 / Green: 79 / Blue: 141

HSL

214°, 63%, 34%

Hue: 214° / Saturation: 63% / Lightness: 34%

CMYK

77%, 44%, 0%, 45%

Cyan: 77% / Magenta: 44% / Yellow: 0% / Key: 45%

What color is #204F8D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #204F8D to RGB:

rgb(32, 79, 141)HEX to RGB Converter →

HEX to HSL

Convert #204F8D to HSL:

hsl(214, 63%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #204F8D to CMYK:

cmyk(77%, 44%, 0%, 45%)Color Converter →

Color Meaning and Usage

A tranquil blue tone, #204F8D has RGB (32, 79, 141) and HSL (214°, 63%, 34%). 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 #204F8D is #8D5E20, creating high-contrast pairings. For softer combinations, try analogous colors like #20868D.

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

Contrast with #204F8D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #204F8D?

#204F8D is a tranquil blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #204F8D?

#204F8D in RGB is (32, 79, 141) - 32 red, 79 green, and 141 blue.

How to use #204F8D in CSS?

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

What colors go well with #204F8D?

#8D5E20 (complementary), #20868D (analogous), and #122C4F (lighter shade) work well with #204F8D.