Color reference

Blue #0000FF

Blue is the standard CSS named color #0000FF, with the blue sRGB channel at full intensity and red/green at zero.

Blue is the CSS named color keyword blue, standardized at #0000FF in sRGB.

Blue #0000FF 8.59:1 with white text

Color values

HEX#0000FF
RGBrgb(0, 0, 255)
HSLhsl(240 100% 50%)
HSV240°, 100%, 100%
CMYK100%, 100%, 0%, 0%

HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.

Black or white text?

Black text 2.44:1 — AA normal text fails
White text 8.59:1 — AA normal text passes

AA normal text: black fails; white passes.

AA large text: black fails; white passes.

WCAG contrast thresholds use 4.5:1 for normal text and 3:1 for large text. Do not round a near-threshold result upward when testing conformance.

Tints and shades of Blue

These steps are computed by RGB-mixing #0000FF toward white or black. They are generated values, not official named colors.

80% tint #CCCCFF
60% tint #9999FF
40% tint #6666FF
20% tint #3333FF
Base #0000FF
20% shade #0000CC
40% shade #000099
60% shade #000066
80% shade #000033

Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.

CSS usage

.example {
  color: #FFFFFF;
  background-color: blue;
}

You can use either blue or #0000FF in CSS; both resolve to the same sRGB color.