Blue
#0000FFAbout 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.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 8.59:1 | Pass | Pass | Pass |
| Ink black #0F0F12 | 2.23:1 | Fail | Fail | Fail |
| Mid grey #6B7280 | 1.78:1 | Fail | Fail | Fail |
| Dark grey #374151 | 1.20:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 6.94:1 | Pass | Pass | Fail |
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
| Format | Value |
|---|---|
| HEX | #0000FF |
| RGB | rgb(0, 0, 255) |
| HSL | hsl(240, 100%, 50%) |
| HSV | hsv(240, 100%, 100%) |
| CMYK | cmyk(100%, 100%, 0%, 0%) |
| OKLCH | oklch(45.20% 0.3132 264.05) |
| CIELAB | lab(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.