#0000FF — Tints, Shades & Color Values
#0000FF is a medium, vivid blue. It is exactly the CSS named color blue. For readable text on a #0000FF background, white text gives the strongest contrast (8.59:1). #0000FF sits in the middle of the lightness range, so it can serve as a primary brand or accent color — use its tints for backgrounds and its shades for text and pressed states.
Color Values
| Hex | #0000FF |
|---|---|
| RGB | rgb(0, 0, 255) |
| HSL | hsl(240, 100%, 50%) |
| HSV / HSB | 240°, 100%, 100% |
| Nearest named | blue (#0000ff) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
Tints of #0000FF (Mixed with White)
Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.
-
10% tint
#1a1aff -
20% tint
#3333ff -
30% tint
#4d4dff -
40% tint
#6666ff -
50% tint
#8080ff -
60% tint
#9999ff -
70% tint
#b3b3ff -
80% tint
#ccccff -
90% tint
#e6e6ff
Shades of #0000FF (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#0000e6 -
20% shade
#0000cc -
30% shade
#0000b3 -
40% shade
#000099 -
50% shade
#000080 -
60% shade
#000066 -
70% shade
#00004d -
80% shade
#000033 -
90% shade
#000019
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #0000FF background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).
| Text color | White text 8.59:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
|---|---|
| Black text 2.44:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
If neither pure white nor pure black reaches the level you need, pick a lighter tint of #0000FF from the ramps above as the background instead — small lightness moves change contrast quickly.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.