#2D283E Color Information

Hex color code: #2D283E

A dramatic blue shade, #2D283E appears as (45, 40, 62) in RGB and (254°, 22%, 20%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#2D283E
RGB
45, 40, 62
HSL
254°, 22%, 20%
CMYK
27%, 35%, 0%, 76%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2D283E, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2D283E; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2D283E; 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 #2D283E; background-color: #2D283E15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2D283E20; border-left: 4px solid #2D283E; }

Link / Accent

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

a { color: #2D283E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2D283E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

45, 40, 62

Red: 45 / Green: 40 / Blue: 62

HSL

254°, 22%, 20%

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

CMYK

27%, 35%, 0%, 76%

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

What color is #2D283E?

#2D283E is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2D283E to RGB:

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

HEX to HSL

Convert #2D283E to HSL:

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

HEX to CMYK

Convert #2D283E to CMYK:

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

Color Meaning and Usage

A deep blue tone, #2D283E has RGB (45, 40, 62) and HSL (254°, 22%, 20%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2D283E is #393E28, creating high-contrast pairings. For softer combinations, try analogous colors like #282E3E.

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

Contrast with #2D283E

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 #2D283E?

#2D283E is a deep blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2D283E?

#2D283E in RGB is (45, 40, 62) - 45 red, 40 green, and 62 blue.

How to use #2D283E in CSS?

Use #2D283E directly in your CSS properties like color or background-color.

What colors go well with #2D283E?

#393E28 (complementary), #282E3E (analogous), and #0B0A10 (lighter shade) work well with #2D283E.