The blue color code is #0000FF in hexadecimal. Click any value below to copy it. Use HEX/RGB for web and digital design, CMYK for print, and HSL when adjusting lightness or saturation in code.
| Format | Value |
|---|---|
| HEX | #0000FF |
| RGB | rgb(0, 0, 255) |
| CMYK | cmyk(100%, 100%, 0%, 0%) |
| HSL | hsl(240, 100%, 50%) |
How to Use Blue in CSS
background-color: #0000ff; | color: rgb(0, 0, 255); | border-color: hsl(240, 100%, 50%);
Nearest Shades
FAQs
What is the hex code for blue?
The hex code for blue is #0000FF. In RGB it is rgb(0, 0, 255), and in CMYK it is 100%, 100%, 0%, 0%. You can copy these codes from the color code section above.
What does the color blue mean?
Blue is associated with trust, stability, intelligence and calm. Its exact meaning shifts with culture and context — see the meaning and cultural sections on this page for details.
What colors go with blue?
Blue pairs beautifully with black, white, gold, gray and its complementary color. Explore the blue color combinations and palettes on this page for ready-to-use schemes.
Where can I download blue backgrounds?
Right here — this site offers 32 free blue backgrounds in HD (1920×1080) across 8 styles: solid, gradient, glow, waves, bokeh, rays, texture and curves. All are free for personal and commercial use.