Blue

#0000FF

Blue is a blue tone at #0000FF. It sits at 240 degrees on the color wheel with 100% saturation and 50% lightness.

Color values

Where it sits

Tints and shades

9 steps, white to black
Tint 80%#CCCCFF
Tint 60%#9999FF
Tint 40%#6666FF
Tint 20%#3333FF
BaseBase#0000FF
Shade 20%#0000CC
Shade 40%#000099
Shade 60%#000066
Shade 80%#000033

Tints mix Blue with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.

Accessibility

WCAG contrast
Sample textThe quick brown fox jumps over the lazy dog.

On white8.59:1

Passes AAA for body text
Sample textThe quick brown fox jumps over the lazy dog.

On black2.44:1

Fails WCAG for text

Check a specific pairing in the contrast checker.

Other blue colors

12 colors, dark to light

Frequently asked

4 questions people ask about Blue.

  1. 1What is the hex code for Blue?

    The hex code for Blue is #0000FF. In RGB that is rgb(0, 0, 255), and in HSL it is hsl(240, 100%, 50%).

  2. 2What RGB values make Blue?

    Blue is 0 red, 0 green, and 255 blue, written as rgb(0, 0, 255).

  3. 3Is Blue readable as text on a white background?

    Blue scores 8.59:1 against white. WCAG AA needs 4.5:1 for body text, so it passes.

  4. 4Is Blue a valid CSS color name?

    Yes. You can write color: blue directly in CSS, which every browser resolves to #0000FF.