#05030C Color Information

Hex color code: #05030C

The hex color #05030C is a dark blue with RGB values of (5, 3, 12) and HSL of (253°, 60%, 3%). It is often used for branding and logos.

Try:
Color NameBlack
HEX
#05030C
RGB
5, 3, 12
HSL
253°, 60%, 3%
CMYK
58%, 75%, 0%, 95%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #05030C; 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 #05030C; background-color: #05030C15; }

Alert / Toast

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

Link / Accent

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

a { color: #05030C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #05030C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

5, 3, 12

Red: 5 / Green: 3 / Blue: 12

HSL

253°, 60%, 3%

Hue: 253° / Saturation: 60% / Lightness: 3%

CMYK

58%, 75%, 0%, 95%

Cyan: 58% / Magenta: 75% / Yellow: 0% / Key: 95%

What color is #05030C?

#05030C is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #05030C to RGB:

rgb(5, 3, 12)HEX to RGB Converter →

HEX to HSL

Convert #05030C to HSL:

hsl(253, 60%, 3%)RGB to HSL Converter →

HEX to CMYK

Convert #05030C to CMYK:

cmyk(58%, 75%, 0%, 95%)Color Converter →

Color Meaning and Usage

A rich blue tone, #05030C has RGB (5, 3, 12) and HSL (253°, 60%, 3%). 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 #05030C is #0A0C03, creating high-contrast pairings. For softer combinations, try analogous colors like #03060C.

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

Contrast with #05030C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #05030C?

#05030C is a rich blue color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #05030C?

#05030C in RGB is (5, 3, 12) - 5 red, 3 green, and 12 blue.

How to use #05030C in CSS?

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

What colors go well with #05030C?

#0A0C03 (complementary), #03060C (analogous), and #000000 (lighter shade) work well with #05030C.