#2D477B Color Information

Hex color code: #2D477B

#2D477B is a delicate blue color. In RGB it is (45, 71, 123), and in HSL it is (220°, 46%, 33%). It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#2D477B
RGB
45, 71, 123
HSL
220°, 46%, 33%
CMYK
63%, 42%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #2D477B; 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 #2D477B; background-color: #2D477B15; }

Alert / Toast

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

Link / Accent

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

a { color: #2D477B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2D477B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

45, 71, 123

Red: 45 / Green: 71 / Blue: 123

HSL

220°, 46%, 33%

Hue: 220° / Saturation: 46% / Lightness: 33%

CMYK

63%, 42%, 0%, 52%

Cyan: 63% / Magenta: 42% / Yellow: 0% / Key: 52%

What color is #2D477B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2D477B to RGB:

rgb(45, 71, 123)HEX to RGB Converter →

HEX to HSL

Convert #2D477B to HSL:

hsl(220, 46%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #2D477B to CMYK:

cmyk(63%, 42%, 0%, 52%)Color Converter →

Color Meaning and Usage

A subtle blue tone, #2D477B has RGB (45, 71, 123) and HSL (220°, 46%, 33%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2D477B is #7B612D, creating high-contrast pairings. For softer combinations, try analogous colors like #2D6E7B.

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

Contrast with #2D477B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2D477B?

#2D477B is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2D477B?

#2D477B in RGB is (45, 71, 123) - 45 red, 71 green, and 123 blue.

How to use #2D477B in CSS?

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

What colors go well with #2D477B?

#7B612D (complementary), #2D6E7B (analogous), and #192743 (lighter shade) work well with #2D477B.