#302F4B Color Information

Hex color code: #302F4B

A intense blue shade, #302F4B appears as (48, 47, 75) in RGB and (242°, 23%, 24%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#302F4B
RGB
48, 47, 75
HSL
242°, 23%, 24%
CMYK
36%, 37%, 0%, 71%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #302F4B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #302F4B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #302F4B; 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 #302F4B; background-color: #302F4B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #302F4B20; border-left: 4px solid #302F4B; }

Link / Accent

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

a { color: #302F4B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #302F4B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 47, 75

Red: 48 / Green: 47 / Blue: 75

HSL

242°, 23%, 24%

Hue: 242° / Saturation: 23% / Lightness: 24%

CMYK

36%, 37%, 0%, 71%

Cyan: 36% / Magenta: 37% / Yellow: 0% / Key: 71%

What color is #302F4B?

#302F4B is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #302F4B to RGB:

rgb(48, 47, 75)HEX to RGB Converter →

HEX to HSL

Convert #302F4B to HSL:

hsl(242, 23%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #302F4B to CMYK:

cmyk(36%, 37%, 0%, 71%)Color Converter →

Color Meaning and Usage

#302F4B is a intense blue color with RGB values of 48, 47, 75 and HSL of 242°, 23%, 24%. This blue-purple hue evokes creativity and luxury, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #302F4B is #4A4B2F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F3C4B.

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

Contrast with #302F4B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #302F4B?

#302F4B is a intense blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #302F4B?

#302F4B in RGB is (48, 47, 75) - 48 red, 47 green, and 75 blue.

How to use #302F4B in CSS?

Use #302F4B directly in your CSS properties like color or background-color.

What colors go well with #302F4B?

#4A4B2F (complementary), #2F3C4B (analogous), and #12121C (lighter shade) work well with #302F4B.