#222F60 Color Information

Hex color code: #222F60

The hex color #222F60 is a subtle blue with RGB values of (34, 47, 96) and HSL of (227°, 48%, 25%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#222F60
RGB
34, 47, 96
HSL
227°, 48%, 25%
CMYK
65%, 51%, 0%, 62%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #222F60; 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 #222F60; background-color: #222F6015; }

Alert / Toast

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

Link / Accent

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

a { color: #222F60; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #222F60 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

34, 47, 96

Red: 34 / Green: 47 / Blue: 96

HSL

227°, 48%, 25%

Hue: 227° / Saturation: 48% / Lightness: 25%

CMYK

65%, 51%, 0%, 62%

Cyan: 65% / Magenta: 51% / Yellow: 0% / Key: 62%

What color is #222F60?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #222F60 to RGB:

rgb(34, 47, 96)HEX to RGB Converter →

HEX to HSL

Convert #222F60 to HSL:

hsl(227, 48%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #222F60 to CMYK:

cmyk(65%, 51%, 0%, 62%)Color Converter →

Color Meaning and Usage

A gentle blue tone, #222F60 has RGB (34, 47, 96) and HSL (227°, 48%, 25%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #222F60 is #5E5121, creating high-contrast pairings. For softer combinations, try analogous colors like #214D5E.

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

Contrast with #222F60

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #222F60?

#222F60 is a gentle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #222F60?

#222F60 in RGB is (34, 47, 96) - 34 red, 47 green, and 96 blue.

How to use #222F60 in CSS?

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

What colors go well with #222F60?

#5E5121 (complementary), #214D5E (analogous), and #0D1326 (lighter shade) work well with #222F60.