#4238AD Color Information

Hex color code: #4238AD

The hex color #4238AD is a cool blue with RGB values of (66, 56, 173) and HSL of (245°, 51%, 45%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Blue
HEX
#4238AD
RGB
66, 56, 173
HSL
245°, 51%, 45%
CMYK
62%, 68%, 0%, 32%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4238AD, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4238AD; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4238AD; 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 #4238AD; background-color: #4238AD15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #4238AD20; border-left: 4px solid #4238AD; }

Link / Accent

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

a { color: #4238AD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4238AD in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 56, 173

Red: 66 / Green: 56 / Blue: 173

HSL

245°, 51%, 45%

Hue: 245° / Saturation: 51% / Lightness: 45%

CMYK

62%, 68%, 0%, 32%

Cyan: 62% / Magenta: 68% / Yellow: 0% / Key: 32%

What color is #4238AD?

#4238AD is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4238AD to RGB:

rgb(66, 56, 173)HEX to RGB Converter →

HEX to HSL

Convert #4238AD to HSL:

hsl(245, 51%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #4238AD to CMYK:

cmyk(62%, 68%, 0%, 32%)Color Converter →

Color Meaning and Usage

A cool blue tone, #4238AD has RGB (66, 56, 173) and HSL (245°, 51%, 45%). 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 #4238AD is #A4AD38, creating high-contrast pairings. For softer combinations, try analogous colors like #3869AD.

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

Contrast with #4238AD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4238AD?

#4238AD is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4238AD?

#4238AD in RGB is (66, 56, 173) - 66 red, 56 green, and 173 blue.

How to use #4238AD in CSS?

Use #4238AD directly in your CSS properties like color or background-color.

What colors go well with #4238AD?

#A4AD38 (complementary), #3869AD (analogous), and #2C2574 (lighter shade) work well with #4238AD.