#2D38CD Color Information

Hex color code: #2D38CD

#2D38CD is a peaceful blue color. In RGB it is (45, 56, 205), and in HSL it is (236°, 64%, 49%). It is typically applied in digital products.

Try:
Color NameRoyal Blue
HEX
#2D38CD
RGB
45, 56, 205
HSL
236°, 64%, 49%
CMYK
78%, 73%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2D38CD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

45, 56, 205

Red: 45 / Green: 56 / Blue: 205

HSL

236°, 64%, 49%

Hue: 236° / Saturation: 64% / Lightness: 49%

CMYK

78%, 73%, 0%, 20%

Cyan: 78% / Magenta: 73% / Yellow: 0% / Key: 20%

What color is #2D38CD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2D38CD to RGB:

rgb(45, 56, 205)HEX to RGB Converter →

HEX to HSL

Convert #2D38CD to HSL:

hsl(236, 64%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #2D38CD to CMYK:

cmyk(78%, 73%, 0%, 20%)Color Converter →

Color Meaning and Usage

A peaceful blue tone, #2D38CD has RGB (45, 56, 205) and HSL (236°, 64%, 49%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2D38CD is #CDC22D, creating high-contrast pairings. For softer combinations, try analogous colors like #2D88CD.

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

Contrast with #2D38CD

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 #2D38CD?

#2D38CD is a peaceful blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2D38CD?

#2D38CD in RGB is (45, 56, 205) - 45 red, 56 green, and 205 blue.

How to use #2D38CD in CSS?

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

What colors go well with #2D38CD?

#CDC22D (complementary), #2D88CD (analogous), and #1F278E (lighter shade) work well with #2D38CD.