#020912 Color Information
Hex color code: #020912
#020912 is a dark blue color. In RGB it is (2, 9, 18), and in HSL it is (214°, 80%, 4%). It is frequently seen in web interfaces.
Shades
color: #020912; background-color: #020912; border-color: #020912; box-shadow: 0 0 10px #020912; border: 2px solid #020912;
bg-[#020912] text-[#020912] border-[#020912] shadow-[0_0_10px_020912]
Generate Gradient
background: linear-gradient(90deg, #020912, #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 #020912 in the color wheel.
RGB, HSL and CMYK Values
RGB
2, 9, 18
Red: 2 / Green: 9 / Blue: 18
HSL
214°, 80%, 4%
Hue: 214° / Saturation: 80% / Lightness: 4%
CMYK
89%, 50%, 0%, 93%
Cyan: 89% / Magenta: 50% / Yellow: 0% / Key: 93%
What color is #020912?
#020912 is a very dark shade associated with sophistication and elegance.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A rich blue tone, #020912 has RGB (2, 9, 18) and HSL (214°, 80%, 4%). Known for evoking sophistication and elegance, this very dark shade is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #020912 is #120B02, creating high-contrast pairings. For softer combinations, try analogous colors like #021112.
Use #020912 in CSS: color: #020912 or background-color: #020912. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #020912
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 #020912?
#020912 is a rich blue color - a very dark shade that evokes sophistication and elegance.
What is the RGB value of #020912?
#020912 in RGB is (2, 9, 18) - 2 red, 9 green, and 18 blue.
How to use #020912 in CSS?
Use #020912 directly in your CSS properties like color or background-color.