#20283C Color Information

Hex color code: #20283C

The hex color #20283C is a deep blue with RGB values of (32, 40, 60) and HSL of (223°, 30%, 18%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#20283C
RGB
32, 40, 60
HSL
223°, 30%, 18%
CMYK
47%, 33%, 0%, 76%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #20283C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #20283C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #20283C; 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 #20283C; background-color: #20283C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #20283C20; border-left: 4px solid #20283C; }

Link / Accent

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

a { color: #20283C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #20283C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

32, 40, 60

Red: 32 / Green: 40 / Blue: 60

HSL

223°, 30%, 18%

Hue: 223° / Saturation: 30% / Lightness: 18%

CMYK

47%, 33%, 0%, 76%

Cyan: 47% / Magenta: 33% / Yellow: 0% / Key: 76%

What color is #20283C?

#20283C is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #20283C to RGB:

rgb(32, 40, 60)HEX to RGB Converter →

HEX to HSL

Convert #20283C to HSL:

hsl(223, 30%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #20283C to CMYK:

cmyk(47%, 33%, 0%, 76%)Color Converter →

Color Meaning and Usage

A intense blue tone, #20283C has RGB (32, 40, 60) and HSL (223°, 30%, 18%). Known for evoking sophistication and elegance, this very dark shade is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #20283C is #3C3420, creating high-contrast pairings. For softer combinations, try analogous colors like #20363C.

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

Contrast with #20283C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #20283C?

#20283C is a intense blue color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #20283C?

#20283C in RGB is (32, 40, 60) - 32 red, 40 green, and 60 blue.

How to use #20283C in CSS?

Use #20283C directly in your CSS properties like color or background-color.

What colors go well with #20283C?

#3C3420 (complementary), #20363C (analogous), and #05070A (lighter shade) work well with #20283C.