#38247B Color Information

Hex color code: #38247B

A peaceful blue shade, #38247B appears as (56, 36, 123) in RGB and (254°, 55%, 31%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#38247B
RGB
56, 36, 123
HSL
254°, 55%, 31%
CMYK
54%, 71%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #38247B; 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 #38247B; background-color: #38247B15; }

Alert / Toast

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

Link / Accent

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

a { color: #38247B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #38247B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

56, 36, 123

Red: 56 / Green: 36 / Blue: 123

HSL

254°, 55%, 31%

Hue: 254° / Saturation: 55% / Lightness: 31%

CMYK

54%, 71%, 0%, 52%

Cyan: 54% / Magenta: 71% / Yellow: 0% / Key: 52%

What color is #38247B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #38247B to RGB:

rgb(56, 36, 123)HEX to RGB Converter →

HEX to HSL

Convert #38247B to HSL:

hsl(254, 55%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #38247B to CMYK:

cmyk(54%, 71%, 0%, 52%)Color Converter →

Color Meaning and Usage

A calming blue tone, #38247B has RGB (56, 36, 123) and HSL (254°, 55%, 31%). Known for evoking creativity and luxury, this blue-purple hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #38247B is #667B24, creating high-contrast pairings. For softer combinations, try analogous colors like #243B7B.

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

Contrast with #38247B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #38247B?

#38247B is a calming blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #38247B?

#38247B in RGB is (56, 36, 123) - 56 red, 36 green, and 123 blue.

How to use #38247B in CSS?

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

What colors go well with #38247B?

#667B24 (complementary), #243B7B (analogous), and #1D123F (lighter shade) work well with #38247B.