#28293E Color Information

Hex color code: #28293E

The hex color #28293E is a intense blue with RGB values of (40, 41, 62) and HSL of (237°, 22%, 20%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#28293E
RGB
40, 41, 62
HSL
237°, 22%, 20%
CMYK
35%, 34%, 0%, 76%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #28293E, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #28293E; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #28293E; 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 #28293E; background-color: #28293E15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #28293E20; border-left: 4px solid #28293E; }

Link / Accent

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

a { color: #28293E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #28293E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 41, 62

Red: 40 / Green: 41 / Blue: 62

HSL

237°, 22%, 20%

Hue: 237° / Saturation: 22% / Lightness: 20%

CMYK

35%, 34%, 0%, 76%

Cyan: 35% / Magenta: 34% / Yellow: 0% / Key: 76%

What color is #28293E?

#28293E is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #28293E to RGB:

rgb(40, 41, 62)HEX to RGB Converter →

HEX to HSL

Convert #28293E to HSL:

hsl(237, 22%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #28293E to CMYK:

cmyk(35%, 34%, 0%, 76%)Color Converter →

Color Meaning and Usage

A dark blue tone, #28293E has RGB (40, 41, 62) and HSL (237°, 22%, 20%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #28293E is #3E3D28, creating high-contrast pairings. For softer combinations, try analogous colors like #28343E.

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

Contrast with #28293E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #28293E?

#28293E is a dark blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #28293E?

#28293E in RGB is (40, 41, 62) - 40 red, 41 green, and 62 blue.

How to use #28293E in CSS?

Use #28293E directly in your CSS properties like color or background-color.

What colors go well with #28293E?

#3E3D28 (complementary), #28343E (analogous), and #0A0A10 (lighter shade) work well with #28293E.