Color values
#0000FFrgb(0, 0, 255)hsl(240 100% 50%)240°, 100%, 100%100%, 100%, 0%, 0%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
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.
#0000FFrgb(0, 0, 255)hsl(240 100% 50%)240°, 100%, 100%100%, 100%, 0%, 0%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
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.
These steps are computed by RGB-mixing #0000FF toward white or black. They are generated values, not official named colors.
#CCCCFF #9999FF #6666FF #3333FF #0000FF #0000CC #000099 #000066 #000033 Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.
.example {
color: #FFFFFF;
background-color: blue;
} You can use either blue or #0000FF in CSS; both resolve to the same sRGB color.
Closest entries in the current Colormapped set by simple RGB-channel distance:
RGB distance is a simple numerical comparison, not a perceptual color-difference standard.
The keyword and base sRGB value come from the standardized CSS named-color set documented by MDN’s named-color reference. Derived values on this page are computed from that sRGB value.
Contrast uses the W3C relative-luminance formula and thresholds described in WCAG Contrast (Minimum).
Convert #0000FF with the HEX to RGB converter, test another foreground/background pair in the Contrast Checker, or browse the shade families.