#223158 Color Information

Hex color code: #223158

A dark blue shade, #223158 appears as (34, 49, 88) in RGB and (223°, 44%, 24%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#223158
RGB
34, 49, 88
HSL
223°, 44%, 24%
CMYK
61%, 44%, 0%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #223158; 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 #223158; background-color: #22315815; }

Alert / Toast

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

Link / Accent

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

a { color: #223158; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #223158 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

34, 49, 88

Red: 34 / Green: 49 / Blue: 88

HSL

223°, 44%, 24%

Hue: 223° / Saturation: 44% / Lightness: 24%

CMYK

61%, 44%, 0%, 65%

Cyan: 61% / Magenta: 44% / Yellow: 0% / Key: 65%

What color is #223158?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #223158 to RGB:

rgb(34, 49, 88)HEX to RGB Converter →

HEX to HSL

Convert #223158 to HSL:

hsl(223, 44%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #223158 to CMYK:

cmyk(61%, 44%, 0%, 65%)Color Converter →

Color Meaning and Usage

A dark blue tone, #223158 has RGB (34, 49, 88) and HSL (223°, 44%, 24%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #223158 is #584922, creating high-contrast pairings. For softer combinations, try analogous colors like #224C58.

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

Contrast with #223158

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #223158?

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

What is the RGB value of #223158?

#223158 in RGB is (34, 49, 88) - 34 red, 49 green, and 88 blue.

How to use #223158 in CSS?

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

What colors go well with #223158?

#584922 (complementary), #224C58 (analogous), and #0D1321 (lighter shade) work well with #223158.