designwithfocus

Blue Color Code

HEX, RGB, CMYK, shades, palettes and contrast.

Free No sign-up Runs in your browser

blue

HEX#0000FF
RGBrgb(0, 0, 255)
RGBArgba(0, 0, 255, 1)
HSLhsl(240, 100%, 50%)
HSLAhsla(240, 100%, 50%, 1)
HSVhsv(240, 100%, 100%)
CMYKcmyk(100%, 100%, 0%, 0%)
LABlab(32.3% 79.2 -107.9)
LCHlch(32.3% 133.8 306.3)
OKLCHoklch(45.2% 0.3 264)
OKLABoklab(0.5 0 -0.3)
HWBhwb(240 0% 0%)
XYZxyz(18.1, 7.2, 95.1)
Decimal255
Tailwindblue-700
Nameblue

Shades

#0000D5
#0000AA
#000080
#000055
#00002A

Tints

#2B2BFF
#5555FF
#8080FF
#AAAAFF
#D5D5FF

Harmonies

complementary
#0000FF
#FFFF00
#B2B300
#FFFF4D
#4D4DFF
analogous
#00FFFF
#007FFF
#0000FF
#7F00FF
#FF00FF
triadic
#0000FF
#FF0000
#00FF00
#FF4D4D
#00B300

Contrast

vs White8.59:1 — AAA
vs Black2.44:1 — Fail

Colour-blind preview (simulation)

#0000C1

How to use Blue Color Code

  1. Look at the Blue swatch and copy the HEX, RGB or HSL value you need.
  2. Use the shades and tints below for darker and lighter versions.
  3. Check the contrast values before using it for text.

Blue colour values

Blue is #0000FF in HEX. Its RGB values are 0, 0 and 255.

In HSL it is 240 degrees hue, 100% saturation and 50% lightness. In CMYK it is 100%, 100%, 0%, 0%.

FormatValue
HEX#0000FF
RGBrgb(0, 0, 255)
HSLhsl(240, 100%, 50%)
CMYKcmyk(100%, 100%, 0%, 0%)

Blue shades and tints

Darker shades of Blue run from #0000D4 to #00002A. Lighter tints run from #2A2AFF to #D4D4FF.

Use a darker shade for headings and a lighter tint for backgrounds.

ShadeHEX
Shade 1#0000D4
Shade 2#0000AA
Shade 3#000080
Shade 4#000055
Shade 5#00002A

FAQ

What is the HEX code for Blue?

The HEX code for Blue is #0000FF.

What is Blue in RGB?

Blue is rgb(0, 0, 255).

Can I use this colour in CSS?

Yes. Copy the HEX or RGB value and paste it into any CSS colour property.

Is this colour free to use?

Yes. Colour values are facts, not owned designs, so you can use them anywhere.

Report a problem with this tool