#04102F Color Information
Hex color code: #04102F
The hex color #04102F is a rich blue with RGB values of (4, 16, 47) and HSL of (223°, 84%, 10%). It is often used for branding and logos.
Shades
color: #04102F; background-color: #04102F; border-color: #04102F; box-shadow: 0 0 10px #04102F; border: 2px solid #04102F;
bg-[#04102F] text-[#04102F] border-[#04102F] shadow-[0_0_10px_04102F]
Generate Gradient
background: linear-gradient(90deg, #04102F, #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 #04102F in the color wheel.
RGB, HSL and CMYK Values
RGB
4, 16, 47
Red: 4 / Green: 16 / Blue: 47
HSL
223°, 84%, 10%
Hue: 223° / Saturation: 84% / Lightness: 10%
CMYK
91%, 66%, 0%, 82%
Cyan: 91% / Magenta: 66% / Yellow: 0% / Key: 82%
What color is #04102F?
#04102F is a very dark shade associated with sophistication and elegance.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#04102F is a dark blue color with RGB values of 4, 16, 47 and HSL of 223°, 84%, 10%. This very dark shade evokes sophistication and elegance, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #04102F is #2F2304, creating high-contrast pairings. For softer combinations, try analogous colors like #04262F.
Use #04102F in CSS: color: #04102F or background-color: #04102F. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #04102F
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 #04102F?
#04102F is a dark blue color - a very dark shade that evokes sophistication and elegance.
What is the RGB value of #04102F?
#04102F in RGB is (4, 16, 47) - 4 red, 16 green, and 47 blue.
How to use #04102F in CSS?
Use #04102F directly in your CSS properties like color or background-color.