blue: Hex #0000FF, RGB and HSL

CSS Named Colors · Blues

blue is a CSS named color from the Blues group. It is exactly #0000FF, RGB 0, 0, 255, which is HSL 240°, 100%, 50% (rounded). Use it in CSS as color: blue; and every browser renders the same sRGB value.

Hex
#0000FF
RGB
0, 0, 255

Swatch and contrast

blue#0000FFrgb(0, 0, 255)
White text8.6:1Black text2.4:1
Exact sRGB value of the keyword; your screen's calibration still affects what you see.

blue specifications

Hex#0000FF
RGB0, 0, 255
HSL240°, 100%, 50%
HTML 4 basic colorYes, one of the 16 original keywords

Also known as

#0000FF0000FF

Closest RAL Classic colors

Nearby CSS named colors

All CSS named colors

See all 148 named colors →

Sources

  1. W3C: CSS Color Module Level 4, §6.1 Named Colors
  2. MDN Web Docs: <named-color>
  3. npm package color-name 2.1.1 (MIT): keyword list used as a cross-check
  4. Sharma, Wu & Dalal (2005): The CIEDE2000 color-difference formula

Values last checked against these sources on November 15, 2026. · How we check data

Reference values for planning and identification. Confirm critical dimensions with the manufacturer's drawing or the current edition of the standard before production.