#405268 Color Information

Hex color code: #405268

A delicate blue shade, #405268 appears as (64, 82, 104) in RGB and (213°, 24%, 33%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#405268
RGB
64, 82, 104
HSL
213°, 24%, 33%
CMYK
38%, 21%, 0%, 59%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #405268; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 82, 104

Red: 64 / Green: 82 / Blue: 104

HSL

213°, 24%, 33%

Hue: 213° / Saturation: 24% / Lightness: 33%

CMYK

38%, 21%, 0%, 59%

Cyan: 38% / Magenta: 21% / Yellow: 0% / Key: 59%

What color is #405268?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #405268 to RGB:

rgb(64, 82, 104)HEX to RGB Converter →

HEX to HSL

Convert #405268 to HSL:

hsl(213, 24%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #405268 to CMYK:

cmyk(38%, 21%, 0%, 59%)Color Converter →

Color Meaning and Usage

A soft blue tone, #405268 has RGB (64, 82, 104) and HSL (213°, 24%, 33%). 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 #405268 is #685640, creating high-contrast pairings. For softer combinations, try analogous colors like #406668.

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

Contrast with #405268

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #405268?

#405268 is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #405268?

#405268 in RGB is (64, 82, 104) - 64 red, 82 green, and 104 blue.

How to use #405268 in CSS?

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

What colors go well with #405268?

#685640 (complementary), #406668 (analogous), and #232D39 (lighter shade) work well with #405268.