#22283F Color Information

Hex color code: #22283F

The hex color #22283F is a dark blue with RGB values of (34, 40, 63) and HSL of (228°, 30%, 19%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#22283F
RGB
34, 40, 63
HSL
228°, 30%, 19%
CMYK
46%, 37%, 0%, 75%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #22283F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #22283F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #22283F; 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 #22283F; background-color: #22283F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #22283F20; border-left: 4px solid #22283F; }

Link / Accent

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

a { color: #22283F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #22283F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

34, 40, 63

Red: 34 / Green: 40 / Blue: 63

HSL

228°, 30%, 19%

Hue: 228° / Saturation: 30% / Lightness: 19%

CMYK

46%, 37%, 0%, 75%

Cyan: 46% / Magenta: 37% / Yellow: 0% / Key: 75%

What color is #22283F?

#22283F is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #22283F to RGB:

rgb(34, 40, 63)HEX to RGB Converter →

HEX to HSL

Convert #22283F to HSL:

hsl(228, 30%, 19%)RGB to HSL Converter →

HEX to CMYK

Convert #22283F to CMYK:

cmyk(46%, 37%, 0%, 75%)Color Converter →

Color Meaning and Usage

#22283F is a deep blue color with RGB values of 34, 40, 63 and HSL of 228°, 30%, 19%. This very dark shade evokes sophistication and elegance, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #22283F is #3F3922, creating high-contrast pairings. For softer combinations, try analogous colors like #22363F.

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

Contrast with #22283F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #22283F?

#22283F is a deep blue color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #22283F?

#22283F in RGB is (34, 40, 63) - 34 red, 40 green, and 63 blue.

How to use #22283F in CSS?

Use #22283F directly in your CSS properties like color or background-color.

What colors go well with #22283F?

#3F3922 (complementary), #22363F (analogous), and #07080D (lighter shade) work well with #22283F.