#18335D Color Information

Hex color code: #18335D

#18335D is a rich blue color. In RGB it is (24, 51, 93), and in HSL it is (217°, 59%, 23%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#18335D
RGB
24, 51, 93
HSL
217°, 59%, 23%
CMYK
74%, 45%, 0%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #18335D; 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 #18335D; background-color: #18335D15; }

Alert / Toast

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

Link / Accent

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

a { color: #18335D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #18335D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

24, 51, 93

Red: 24 / Green: 51 / Blue: 93

HSL

217°, 59%, 23%

Hue: 217° / Saturation: 59% / Lightness: 23%

CMYK

74%, 45%, 0%, 64%

Cyan: 74% / Magenta: 45% / Yellow: 0% / Key: 64%

What color is #18335D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #18335D to RGB:

rgb(24, 51, 93)HEX to RGB Converter →

HEX to HSL

Convert #18335D to HSL:

hsl(217, 59%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #18335D to CMYK:

cmyk(74%, 45%, 0%, 64%)Color Converter →

Color Meaning and Usage

#18335D is a intense blue color with RGB values of 24, 51, 93 and HSL of 217°, 59%, 23%. This blue-purple hue evokes creativity and luxury, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #18335D is #5D4318, creating high-contrast pairings. For softer combinations, try analogous colors like #18555D.

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

Contrast with #18335D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #18335D?

#18335D is a intense blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #18335D?

#18335D in RGB is (24, 51, 93) - 24 red, 51 green, and 93 blue.

How to use #18335D in CSS?

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

What colors go well with #18335D?

#5D4318 (complementary), #18555D (analogous), and #081220 (lighter shade) work well with #18335D.