Skip to content
ColorPicker Studio

Blue color — #0000FF

Blue is a CSS named color with the HEX code #0000FF, RGB value rgb(0, 0, 255) and HSL value hsl(240, 100%, 50%).

Blue

Blue

#0000FF

Color codes

HEX
#0000FF
RGB
rgb(0, 0, 255)
HSL
hsl(240, 100%, 50%)
HSV
hsv(240, 100%, 100%)
CMYK
cmyk(100%, 100%, 0%, 0%)
OKLCH
oklch(45.2% 0.3132 264.05)

CSS usage

In CSS you can use the keyword or any equivalent value:

.element {
  color: blue;
  background-color: #0000ff;
  border-color: rgb(0, 0, 255);
  outline-color: hsl(240, 100%, 50%);
}

Shades

Tints

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Contrast ratio

Contrast ratio against white and black text, per WCAG 2.2.

Blue — On white8.59:1 · AAA
Blue — On black2.44:1 · Fail

Similar colors

More Blue colors →