Skip to content
  • No data uploaded
  • Instant results

Blue — #0000FF

Blue is the CSS named colour blue, hex #0000FF. It has a contrast ratio of 8.59:1 on white and 2.44:1 on black — readable as text on white backgrounds (WCAG AA).

Blue — #0000FF

Contrast on white 8.59:1 · on black 2.44:1

Tints
Shades
Complementary
Triadic
Analogous

Free Blue — #0000FF by pGento

Using Blue in code

CSS: color: blue; or color: #0000FF; · Tailwind: text-[#0000FF] · Android/Flutter: 0xFF0000FF

Blue colour harmonies

Complementary: #FFFF00 · Triadic: #FF0000, #00FF00 · Analogous: #0080FF, #8000FF. Use tints for backgrounds and shades for hover states.

Blue in every colour format

FormatValue
HEX#0000FF
RGBrgb(0, 0, 255)
HSLhsl(240, 100%, 50%)
HSVhsv(240, 100%, 100%)
CMYKcmyk(100%, 100%, 0%, 0%)
CSS nameblue
Contrast on white8.59:1
Contrast on black2.44:1

Frequently asked questions

What is the hex code for Blue?
#0000FF (CSS name: blue).
What is Blue in RGB?
rgb(0, 0, 255)
What colour goes well with Blue?
Its complementary colour #FFFF00, or the analogous #0080FF and #8000FF.
Blue — #0000FF

Embed this tool on your site

Paste this code into any web page. It stays free, fast and ad-free inside your site.

Print or save as PDF

Prints just this tool and its result. Choose “Save as PDF” as the printer to get a file. Branding is stored only in this browser.