Color Converter (HEX, RGB, HSL)→Specialized Version
🎨

Blue HEX Code

Blue color HEX code

HEX in
#0000FF
RGB out
rgb(0, 0, 255)
RGB
HSL

All formats

Lightness variations

Blue HEX Code

The HEX code for pure blue is #0000FF. Blue is a primary color in the RGB model representing maximum intensity in the blue channel with no red or green.

Blue Color Values

FormatValue
HEX#0000FF
RGBrgb(0, 0, 255)
HSLhsl(240, 100%, 50%)
CMYKC:100 M:100 Y:0 K:0

Blue Shades and Variations

ShadeHEXDescription
Light Blue#ADD8E6Soft, calming
Sky Blue#87CEEBBright, cheerful
Blue#0000FFPure blue
Royal Blue#4169E1Rich, elegant
Navy Blue#000080Deep, professional
Steel Blue#4682B4Gray-tinted
Teal#008080Green-tinted

Blue in Design

Blue conveys:

  • Trust: Banks, insurance, healthcare
  • Calm: Relaxation, meditation
  • Professionalism: Corporate, business
  • Technology: Tech companies

CSS Usage

``css .primary-button { background-color: #0000FF; /* Or using the name */ background-color: blue; } `

Brand Blues

BrandHEX
Facebook#1877F2
Twitter#1DA1F2
LinkedIn#0A66C2
IBM#0530AD

Blue in Every Format

FormatValue
HEX#0000FF
RGBrgb(0, 0, 255)
HSLhsl(240, 100%, 50%)
CMYKcmyk(100%, 100%, 0%, 0%)
Nearest Tailwindblue-700 (#1D4ED8)

About This Colour

Blue is #0000FF, pure blue at full intensity. It is the default link colour of the web (though browsers now render visited links closer to #551A8B), and the most common primary in enterprise design systems.

Will It Pass Contrast?

CombinationRatioWCAG
Blue text on white8.59:1AAA
Blue text on black2.44:1fails
White text on blue8.59:1AAA
WCAG AA needs 4.5:1 for body text and 3:1 for text above 18pt or 14pt bold. Blue passes on white, so it is safe for body text on a light background.

Building a Palette Around It

RoleColour
Lighter (+20%)#6666ff
Base#0000FF
Darker (−20%)#000099
Complementary#ffff00
Triadic#ff0000, #00ff00
Tints (toward white): #4040ff, #8080ff, #bfbfff

Shades (toward black): #0000bf, #000080, #000040

Using It

`css :root { --blue: #0000ff; --blue-light: #6666ff; --blue-dark: #000099; }

.badge { background: var(--blue); color: #000; } `

Define the colour once as a custom property rather than repeating the hex. When the brand changes — and it will — you edit one line instead of grepping a stylesheet.

A Full Ramp From This Colour

Design systems settle on a 50–900 scale because it covers backgrounds, borders, text and states without anyone reaching outside the palette. Mixing toward white and black rather than adjusting HSL lightness keeps more of the hue's character:

StepColourContrast on whiteSafe for
50#F5F9FF1.06:1backgrounds and fills
100#EBF3FE1.12:1backgrounds and fills
200#CEE0FD1.34:1backgrounds and fills
300#B1CDFB1.62:1backgrounds and fills
400#76A8F92.40:1backgrounds and fills
500#3B82F63.68:1large text, borders
600#326FD14.85:1body text on white
700#295BAC6.59:1body text on white
800#2048878.98:1body text on white
900#18346212.31:1body text on white
The contrast column is the one that decides usage. Steps below 3:1 cannot carry text at any size and belong in fills and dividers; steps at 4.5:1 and above are safe for body copy.

Adjusting It

Base colour in HSL is hsl(217, 91%, 60%). Two useful moves:

`css /* +10% lightness, same hue */ --lighter: #6da2f8; /* −10% lightness */ --darker: #0b64f4; ``

Raising lightness also drops perceived saturation, so a lightened colour reads greyer than its numbers suggest. Adding 5–10% saturation alongside every 20% of lightness keeps the ramp looking like one hue rather than a fade to grey.

Frequently Asked Questions

What is blue in HEX?

#0000FF is pure blue (no red, no green, maximum blue).

What is navy blue HEX?

Navy is #000080 — half-intensity blue, and one of the original 16 VGA colours. It is dark enough to carry white text at roughly 12:1 contrast, which is why it is a reliable header and navigation colour.

What is the most popular blue?

Sky blue (#87CEEB) and royal blue (#4169E1) are commonly used.

Related Tools

Explore other tools you might find useful:

More Color Converter (HEX, RGB, HSL) tools

You might also need