#24262B Color Information

Hex color code: #24262B

The hex color #24262B is a deep blue with RGB values of (36, 38, 43) and HSL of (223°, 9%, 15%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#24262B
RGB
36, 38, 43
HSL
223°, 9%, 15%
CMYK
16%, 12%, 0%, 83%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #24262B; 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 #24262B; background-color: #24262B15; }

Alert / Toast

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

Link / Accent

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

a { color: #24262B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #24262B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

36, 38, 43

Red: 36 / Green: 38 / Blue: 43

HSL

223°, 9%, 15%

Hue: 223° / Saturation: 9% / Lightness: 15%

CMYK

16%, 12%, 0%, 83%

Cyan: 16% / Magenta: 12% / Yellow: 0% / Key: 83%

What color is #24262B?

#24262B is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #24262B to RGB:

rgb(36, 38, 43)HEX to RGB Converter →

HEX to HSL

Convert #24262B to HSL:

hsl(223, 9%, 15%)RGB to HSL Converter →

HEX to CMYK

Convert #24262B to CMYK:

cmyk(16%, 12%, 0%, 83%)Color Converter →

Color Meaning and Usage

A dramatic blue tone, #24262B has RGB (36, 38, 43) and HSL (223°, 9%, 15%). Known for evoking sophistication and elegance, this very dark shade is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #24262B is #2A2823, creating high-contrast pairings. For softer combinations, try analogous colors like #23282A.

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

Contrast with #24262B

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 #24262B?

#24262B is a dramatic blue color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #24262B?

#24262B in RGB is (36, 38, 43) - 36 red, 38 green, and 43 blue.

How to use #24262B in CSS?

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

What colors go well with #24262B?

#2A2823 (complementary), #23282A (analogous), and #000000 (lighter shade) work well with #24262B.