#261E52 Color Information

Hex color code: #261E52

A rich blue shade, #261E52 appears as (38, 30, 82) in RGB and (249°, 46%, 22%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#261E52
RGB
38, 30, 82
HSL
249°, 46%, 22%
CMYK
54%, 63%, 0%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #261E52; 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 #261E52; background-color: #261E5215; }

Alert / Toast

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

Link / Accent

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

a { color: #261E52; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #261E52 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

38, 30, 82

Red: 38 / Green: 30 / Blue: 82

HSL

249°, 46%, 22%

Hue: 249° / Saturation: 46% / Lightness: 22%

CMYK

54%, 63%, 0%, 68%

Cyan: 54% / Magenta: 63% / Yellow: 0% / Key: 68%

What color is #261E52?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #261E52 to RGB:

rgb(38, 30, 82)HEX to RGB Converter →

HEX to HSL

Convert #261E52 to HSL:

hsl(249, 46%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #261E52 to CMYK:

cmyk(54%, 63%, 0%, 68%)Color Converter →

Color Meaning and Usage

A intense blue tone, #261E52 has RGB (38, 30, 82) and HSL (249°, 46%, 22%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #261E52 is #4A521E, creating high-contrast pairings. For softer combinations, try analogous colors like #1E3052.

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

Contrast with #261E52

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #261E52?

#261E52 is a intense blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #261E52?

#261E52 in RGB is (38, 30, 82) - 38 red, 30 green, and 82 blue.

How to use #261E52 in CSS?

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

What colors go well with #261E52?

#4A521E (complementary), #1E3052 (analogous), and #0C0A1A (lighter shade) work well with #261E52.