#08182B Color Information

Hex color code: #08182B

#08182B is a rich blue color. In RGB it is (8, 24, 43), and in HSL it is (213°, 69%, 10%). It is often used for branding and logos.

Try:
Color NameBlack
HEX
#08182B
RGB
8, 24, 43
HSL
213°, 69%, 10%
CMYK
81%, 44%, 0%, 83%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #08182B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

8, 24, 43

Red: 8 / Green: 24 / Blue: 43

HSL

213°, 69%, 10%

Hue: 213° / Saturation: 69% / Lightness: 10%

CMYK

81%, 44%, 0%, 83%

Cyan: 81% / Magenta: 44% / Yellow: 0% / Key: 83%

What color is #08182B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #08182B to RGB:

rgb(8, 24, 43)HEX to RGB Converter →

HEX to HSL

Convert #08182B to HSL:

hsl(213, 69%, 10%)RGB to HSL Converter →

HEX to CMYK

Convert #08182B to CMYK:

cmyk(81%, 44%, 0%, 83%)Color Converter →

Color Meaning and Usage

A deep blue tone, #08182B has RGB (8, 24, 43) and HSL (213°, 69%, 10%). Known for evoking sophistication and elegance, this very dark shade is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #08182B is #2B1B08, creating high-contrast pairings. For softer combinations, try analogous colors like #08292B.

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

Contrast with #08182B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #08182B?

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

What is the RGB value of #08182B?

#08182B in RGB is (8, 24, 43) - 8 red, 24 green, and 43 blue.

How to use #08182B in CSS?

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

What colors go well with #08182B?

#2B1B08 (complementary), #08292B (analogous), and #000000 (lighter shade) work well with #08182B.