BLUE

Blue

#0000FF
Conversions
HEX#0000FF
RGBrgb(0, 0, 255)
HSLhsl(240, 100%, 50%)
HSVhsv(240, 100%, 100%)
CMYKcmyk(100%, 100%, 0%, 0%)
Copy CSS
color: #0000ff; /* rgb */ color: rgb(0, 0, 255); /* hsl */ color: hsl(240, 100%, 50%);
Contrast
On whitePass · 8.59 : 1
On ink blackFail · 2.23 : 1
Shades
Tints
Pairings
Complementary
#FFFF00
Triadic
#FF0000
Triadic
#00FF00

About Blue

Blue is the hex color #0000FF, which translates to rgb(0, 0, 255) in RGB and hsl(240, 100%, 50%) in HSL. On the color wheel it sits at 240 degrees, with a saturation of 100 percent and a lightness of 50 percent. Its OKLCH chroma of 0.313 is high, so Blue is one of the more vivid blue tones here and is easy to overuse at large sizes.

How Blue compares

Blue is exactly the CSS keyword blue, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is violet-600 (#7F22FE), at a distance of 20.5. Inside this library the closest neighbour is Electric Violet at 13.3. Sorted by lightness, Blue is number 15 of the 30 blue colors here.

Text on Blue

2 of the five common text colors below clear WCAG AA for normal text on Blue, led by White at 8.59:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Blue already loaded as the background.

Contrast of common text colors on Blue. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF8.59:1PassPassPass
Ink black #0F0F122.23:1FailFailFail
Mid grey #6B72801.78:1FailFailFail
Dark grey #3741511.20:1FailFailFail
Light grey #E5E7EB6.94:1PassPassFail

Building a palette around Blue

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Blue for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.

Full values for Blue

FormatValue
HEX#0000FF
RGBrgb(0, 0, 255)
HSLhsl(240, 100%, 50%)
HSVhsv(240, 100%, 100%)
CMYKcmyk(100%, 100%, 0%, 0%)
OKLCHoklch(45.20% 0.3132 264.05)
CIELABlab(32.30 79.19 -107.86)

Use Blue in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.