#050C1F Color Information
Hex color code: #050C1F
The hex color #050C1F is a rich blue with RGB values of (5, 12, 31) and HSL of (224°, 72%, 7%). It is popular in mobile app design.
Shades
color: #050C1F; background-color: #050C1F; border-color: #050C1F; box-shadow: 0 0 10px #050C1F; border: 2px solid #050C1F;
bg-[#050C1F] text-[#050C1F] border-[#050C1F] shadow-[0_0_10px_050C1F]
Generate Gradient
background: linear-gradient(90deg, #050C1F, #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 #050C1F in the color wheel.
RGB, HSL and CMYK Values
RGB
5, 12, 31
Red: 5 / Green: 12 / Blue: 31
HSL
224°, 72%, 7%
Hue: 224° / Saturation: 72% / Lightness: 7%
CMYK
84%, 61%, 0%, 88%
Cyan: 84% / Magenta: 61% / Yellow: 0% / Key: 88%
What color is #050C1F?
#050C1F is a very dark shade associated with sophistication and elegance.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#050C1F is a rich blue color with RGB values of 5, 12, 31 and HSL of 224°, 72%, 7%. This very dark shade evokes sophistication and elegance, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #050C1F is #1F1805, creating high-contrast pairings. For softer combinations, try analogous colors like #05191F.
Use #050C1F in CSS: color: #050C1F or background-color: #050C1F. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #050C1F
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 #050C1F?
#050C1F is a rich blue color - a very dark shade that evokes sophistication and elegance.
What is the RGB value of #050C1F?
#050C1F in RGB is (5, 12, 31) - 5 red, 12 green, and 31 blue.
How to use #050C1F in CSS?
Use #050C1F directly in your CSS properties like color or background-color.