#302E38 Color Information

Hex color code: #302E38

The hex color #302E38 is a rich blue with RGB values of (48, 46, 56) and HSL of (252°, 10%, 20%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#302E38
RGB
48, 46, 56
HSL
252°, 10%, 20%
CMYK
14%, 18%, 0%, 78%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #302E38; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 46, 56

Red: 48 / Green: 46 / Blue: 56

HSL

252°, 10%, 20%

Hue: 252° / Saturation: 10% / Lightness: 20%

CMYK

14%, 18%, 0%, 78%

Cyan: 14% / Magenta: 18% / Yellow: 0% / Key: 78%

What color is #302E38?

#302E38 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #302E38 to RGB:

rgb(48, 46, 56)HEX to RGB Converter →

HEX to HSL

Convert #302E38 to HSL:

hsl(252, 10%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #302E38 to CMYK:

cmyk(14%, 18%, 0%, 78%)Color Converter →

Color Meaning and Usage

A dramatic blue tone, #302E38 has RGB (48, 46, 56) and HSL (252°, 10%, 20%). Known for evoking balance and subtlety, this desaturated neutral is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #302E38 is #36382E, creating high-contrast pairings. For softer combinations, try analogous colors like #2E3138.

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

Contrast with #302E38

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #302E38?

#302E38 is a dramatic blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #302E38?

#302E38 in RGB is (48, 46, 56) - 48 red, 46 green, and 56 blue.

How to use #302E38 in CSS?

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

What colors go well with #302E38?

#36382E (complementary), #2E3138 (analogous), and #0C0B0E (lighter shade) work well with #302E38.