#04050C Color Information
Hex color code: #04050C
A dramatic blue shade, #04050C appears as (4, 5, 12) in RGB and (233°, 50%, 3%) in HSL. It is typically applied in digital products.
Shades
color: #04050C; background-color: #04050C; border-color: #04050C; box-shadow: 0 0 10px #04050C; border: 2px solid #04050C;
bg-[#04050C] text-[#04050C] border-[#04050C] shadow-[0_0_10px_04050C]
Generate Gradient
background: linear-gradient(90deg, #04050C, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #04050C in the color wheel.
RGB, HSL and CMYK Values
RGB
4, 5, 12
Red: 4 / Green: 5 / Blue: 12
HSL
233°, 50%, 3%
Hue: 233° / Saturation: 50% / Lightness: 3%
CMYK
67%, 58%, 0%, 95%
Cyan: 67% / Magenta: 58% / Yellow: 0% / Key: 95%
What color is #04050C?
#04050C is a very dark shade associated with sophistication and elegance.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#04050C is a rich blue color with RGB values of 4, 5, 12 and HSL of 233°, 50%, 3%. This very dark shade evokes sophistication and elegance, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #04050C is #0B0B04, creating high-contrast pairings. For softer combinations, try analogous colors like #04090B.
Use #04050C in CSS: color: #04050C or background-color: #04050C. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #04050C
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #04050C?
#04050C is a rich blue color - a very dark shade that evokes sophistication and elegance.
What is the RGB value of #04050C?
#04050C in RGB is (4, 5, 12) - 4 red, 5 green, and 12 blue.
How to use #04050C in CSS?
Use #04050C directly in your CSS properties like color or background-color.