Blue Color Code #0000FF
Blue has the HEX code #0000FF and the RGB value rgb(0, 0, 255).
Blue#0000FF
Blue color codes
| HEX | #0000FF |
| RGB | rgb(0, 0, 255) |
| HSL | hsl(240, 100%, 50%) |
| CMYK | cmyk(100%, 100%, 0%, 0%) |
| RGB percent | 0%, 0%, 100% |
| Decimal | 255 |
Tints of Blue
#1A1AFF#3333FF#4D4DFF#6666FF#8080FF#9999FF#B3B3FF#CCCCFF#E6E6FF
Shades of Blue
#0000E6#0000CC#0000B3#000099#000080#000066#00004D#000033#000019
Color combinations
Complementary
#0000FF#FFFF00
Analogous
#0000FF#0080FF#8000FF
Triadic
#0000FF#FF0000#00FF00
Use Blue in CSS
.text { color: #0000FF; }
.box { background-color: rgb(0, 0, 255); }
.border { border: 2px solid hsl(240, 100%, 50%); }
Text in Blue
Background in Blue
Similar colors
- Medium Blue
- Cobalt Blue
- Dark Blue
- Navy
- Navy Blue
- Royal Blue
- Indigo
- Dodger Blue
- Midnight Blue
- Blue Violet
- Slate Blue
- Dark Slate Blue
Frequently asked questions
What is the HEX code for Blue?
The HEX code for Blue is #0000FF.
What is the RGB value of Blue?
Blue in RGB is rgb(0, 0, 255): red 0, green 0 and blue 255 out of 255.
How do I use Blue in CSS?
Use color: #0000FF; for text or background-color: #0000FF; for backgrounds. You can also write the CSS name blue.