#2D507B Color Information

Hex color code: #2D507B

#2D507B is a gentle blue color. In RGB it is (45, 80, 123), and in HSL it is (213°, 46%, 33%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#2D507B
RGB
45, 80, 123
HSL
213°, 46%, 33%
CMYK
63%, 35%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2D507B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

45, 80, 123

Red: 45 / Green: 80 / Blue: 123

HSL

213°, 46%, 33%

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

CMYK

63%, 35%, 0%, 52%

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

What color is #2D507B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2D507B to RGB:

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

HEX to HSL

Convert #2D507B to HSL:

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

HEX to CMYK

Convert #2D507B to CMYK:

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

Color Meaning and Usage

A delicate blue tone, #2D507B has RGB (45, 80, 123) and HSL (213°, 46%, 33%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2D507B is #7B582D, creating high-contrast pairings. For softer combinations, try analogous colors like #2D777B.

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

Contrast with #2D507B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2D507B?

#2D507B is a delicate blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2D507B?

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

How to use #2D507B in CSS?

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

What colors go well with #2D507B?

#7B582D (complementary), #2D777B (analogous), and #192C43 (lighter shade) work well with #2D507B.