#0400FF Color Information
Hex color code: #0400FF
#0400FF is a dynamic blue color. In RGB it is (4, 0, 255), and in HSL it is (241°, 100%, 50%). It is typically applied in digital products.
Shades
color: #0400FF; background-color: #0400FF; border-color: #0400FF; box-shadow: 0 0 10px #0400FF; border: 2px solid #0400FF;
bg-[#0400FF] text-[#0400FF] border-[#0400FF] shadow-[0_0_10px_0400FF]
Generate Gradient
background: linear-gradient(90deg, #0400FF, #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 #0400FF in the color wheel.
RGB, HSL and CMYK Values
RGB
4, 0, 255
Red: 4 / Green: 0 / Blue: 255
HSL
241°, 100%, 50%
Hue: 241° / Saturation: 100% / Lightness: 50%
CMYK
98%, 100%, 0%, 0%
Cyan: 98% / Magenta: 100% / Yellow: 0% / Key: 0%
What color is #0400FF?
#0400FF is a highly saturated hue associated with energy and excitement.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#0400FF is a eye-catching blue color with RGB values of 4, 0, 255 and HSL of 241°, 100%, 50%. This highly saturated hue evokes energy and excitement, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #0400FF is #FBFF00, creating high-contrast pairings. For softer combinations, try analogous colors like #007BFF.
Use #0400FF in CSS: color: #0400FF or background-color: #0400FF. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #0400FF
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 #0400FF?
#0400FF is a eye-catching blue color - a highly saturated hue that evokes energy and excitement.
What is the RGB value of #0400FF?
#0400FF in RGB is (4, 0, 255) - 4 red, 0 green, and 255 blue.
How to use #0400FF in CSS?
Use #0400FF directly in your CSS properties like color or background-color.