blue Color Codes
Color Preview
Blue Color Codes
Related Colors
Complementary
#ffff00
Analogous
hsl(270, 100%, 50%)
hsl(210, 100%, 50%)
Triadic
hsl(0, 100%, 50%)
hsl(120, 100%, 50%)
Tetradic
hsl(330, 100%, 50%)
hsl(60, 100%, 50%)
hsl(150, 100%, 50%)
HTML Snippets
.element { background-color: #0000FF; }
.element { color: #0000FF; }
This is how the text color would appear.
<span style="color: #0000FF;">Colored text</span>
This text has an inline style applied.
Accessibility
Contrast Ratios
Black2.44 (Fail)
White8.59 (AA)
Shades of Blue
hsl(240, 100%, 20%)
hsl(240, 100%, 35%)
#0000FF
hsl(240, 100%, 65%)
hsl(240, 100%, 80%)
Color Blindness Simulations
Protanopia (Red-Blind)
#0000c1
Deuteranopia (Green-Blind)
#0000b3
Tritanopia (Blue-Blind)
#000000
Related Palettes
This color is not part of any predefined palettes.
About blue
blue (#0000FF) is a versatile color that can be used in various design contexts. Explore its hex code, RGB and HSL values, and discover complementary colors to create stunning color palettes for your projects.