Huebook

Blue

Blue is a dark, saturated blue-violet color with the hex code #0000FF (hue 240°, saturation 100%, lightness 50%). It is also the CSS named color blue.

#0000FF
NameHEXRGBHSLCMYKOKLCH
Blue#0000FF0, 0, 255240°, 100%, 50%100, 100, 0, 045.2% 0.313 264

Contrast with white text 8.59:1, with black text 2.44:1 — use white text on Blue.

blue is one of the 148 named colors in CSS, with exactly this value, so color: blue works in any browser without a hex code.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Blue

Move the sliders to make Blue lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Blue
  • HEX#0000FF
  • RGBrgb(0 0 255)
  • HSLhsl(240 100% 50%)

Variations of Blue

Text on Blue

White textThe quick brown fox8.59:1 · AA pass · AAA pass
Black textThe quick brown fox2.44:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Blue with color blindness

Normal #0000FF
Protanopia #0059FF
Deuteranopia #003DFB
Tritanopia #006B96

How Blue appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#CCCCFF
#8080FF
#3333FF
#0000E6
#000099
#00004D

Colors that go with Blue

Six color schemes built on Blue with classic harmony rules. The complementary scheme pairs it with Yellow (#FFFF00), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Blue

Similar medium blue colors

Questions

What is the hex code for Blue?

#0000FF — RGB 0, 0, 255, HSL 240°, 100%, 50%.

Is Blue a warm or cool color?

Cool — its hue sits at 240° on the color wheel.