A vivid, electric blue named after glowing signs, though neon itself never glows blue.
Overview
Neon blue is a vivid, slightly purplish blue. Its usual web code is #1F51FF: blue at full strength, with some green and a little red, which keeps it bright and clear.
The name comes from glowing signs, but the blue in them is not neon’s own light. Neon gas glows reddish orange; blue tubes get their color from other gases, such as argon or mercury vapor. Fluorescent blue is common, though mostly unnoticed: optical brighteners in detergent and paper turn ultraviolet light into blue light, so whites look whiter.
Names for vivid blues are a muddle. In the xkcd color survey, people’s average neon blue was a light sky blue, #04D9FF, while their average “electric blue” (#0652FF) was almost exactly this page’s code. Wikipedia lists yet another neon blue, #4D4DFF.
Neon blue is dark enough to carry white text and bright enough to stand out on black. It pairs well with hot pink, orange and silver.
HEX
#1F51FF
RGB
rgb(31, 81, 255)
HSL
hsl(227, 100%, 56%)
HSV
227°, 88%, 100%
CMYK
88, 68, 0, 0
OKLCH
oklch(53.1% 0.261 265.0)
Every code converts from the HEX value #1F51FF. #1F51FF is the neon blue most color sites use, but no standard defines it, and we could not trace where it started. Other references give other codes: Wikipedia shows #4D4DFF, taken from a color website. Treat this code as typical, not official. CMYK is a screen-based estimate; print results vary.
Neon blue on the color map
LighterDarker
People’s average neon blue in the xkcd survey is a much lighter sky blue, far off this view, up and to the left. Their average electric blue sits almost on top of this code. Wikipedia’s neon blue is inside the outline, to the right: a little more violet. The outline is an approximate range, not a measured one.
Shades and tints
Tintswith white
Shadeswith black
Toneswith gray
Neon blue sits in the middle. Tints add white, shades add black and tones add gray, in 10% steps out from it. Tap any swatch to copy its code.
Light and dark neon blue
#A5B9FF
Pale neon blueMixed 60% with white. A soft, airy blue.
#7997FF
Light neon blueMixed 40% with white. Bright and friendly.
#1F51FF
Neon blueThe reference color.
#4169E1
Royal blueSofter, a CSS keyword with a page of its own. See royal blue
#133199
Dark neon blueMixed 40% with black. A deep, saturated blue.
Colors that go with neon blue
Pairings that work in rooms, outfits and interfaces.
Neon blue and black
A cool glow on black. Good for gaming and tech.
Neon blue and hot pink
Electric and playful. Suits music and events.
Neon blue and orange
Near-opposites. Sporty and full of energy.
Neon blue and silver
Sleek and modern. A safe pick for apps.
Neon blue and white
Clean and confident. Neon blue holds white text well.
Neon blue and lime
Two vivid colors on a night background. Let one be the accent.
Color-wheel palettes
Pick a palette to see where its colors sit on the color wheel. The caret marks neon blue. Tap a band to copy its code.
Lined up by hue around neon blue. Hover a color to see how similar it is.The bar under each name shows how similar it is. Similarity comes from the distance between the two colors in OKLab, a model of how we see color.
Neon blue vs electric blue
Neon blue#1F51FF · hue 227°
A vivid, deep blue
Dark enough for white text
Named after glowing signs
Electric blue#7DF9FF · hue 183°
A pale, glowing cyan
Needs dark text
Named after electric sparks
Meaning
Signs
Brighteners
Night
Glow
Screens
Neon blue reads as cool, electric and modern, the color of signs at night and glowing screens. Its fluorescent cousin is everywhere and mostly unseen: blue-glowing brighteners make laundry and paper look white. Studies of color and emotion test basic words like “blue”, not neon blue, so claims about its mood are guesswork.
Neon never glows blue
Well established
Neon gas glows reddish orange in a discharge tube, and only red signs hold pure neon. Other colors come from other gases and coatings: argon gives a lavender or blue glow, and mercury added to the gas makes blue.1, 2, 3
The blue that makes whites whiter
Well established
Optical brighteners absorb ultraviolet and violet light and give it back as blue light. Added to detergent and paper, they offset yellowing, so clothes and pages look cleaner and whiter. They replaced the older laundry bluing.4
Two names that swap places
Online survey
In the xkcd color survey, the average color people called neon blue was a light sky blue (#04D9FF), and the average electric blue a vivid deep blue (#0652FF), almost the same as this page’s code. Color sites tend to do the opposite: Wikipedia’s electric blue is a pale cyan, #7DF9FF.5, 6
Sources (6)
Royal Society of Chemistry, “Neon”, Periodic Table, history and uses.
Neon blue is a name from the age of glowing signs, though the blue in a sign has never come from neon alone.
1898
William Ramsay and Morris Travers discover neon in London. In their spectrometer it glows brilliant red.1
1910
Georges Claude shows neon tube lighting at the Paris Motor Show. His patents also foresee other gases, such as argon and mercury vapor, for colors neon cannot make.2
1915
Claude receives a US patent on electrodes for gas-discharge lighting, the basis of his company’s US monopoly on neon signs into the early 1930s.2
1920s
Fluorescent glasses and coatings widen the range of tube colors. They are generally lit by argon and mercury vapor, whose ultraviolet light makes the coatings glow.2
1923
Earle C. Anthony buys two neon signs from Claude for his Packard car dealership in Los Angeles. They are said to stop traffic, and neon signs spread across the United States.2
1932
Claude’s main patent expires, and the making of neon signs expands rapidly.2
2010
In the xkcd color survey, people’s average neon blue is a sky blue, #04D9FF, and their average electric blue a deep blue, #0652FF.3
Sources (3)
Royal Society of Chemistry, “Neon”, Periodic Table, history and uses.
Wikipedia, “Neon lighting”, citing Stephen van Dulken’s Inventing the 20th Century (2002) and Rudi Stern’s The New Let There Be Neon (1988).
Munroe, R. (2010). “Color survey results”. xkcd blog. The survey’s color averages are released as CC0 data.
IBM’s blue, #0F62FE, is lighter and a little less violet than this page’s code. The 8-bar logo on ibm.com is drawn in this blue.
#0F62FE#161616
Source: IBM Design Language
Source
The blue is the single color in IBM’s own logo file (a PNG) and the most used blue on the Color page of the IBM Design Language, read on November 18, 2026. The logo shown is that file.
#005AFF
BrandingNokia
Nokia’s blue, #005AFF, is a touch lighter and leans a little less violet than this page’s code. It fills the wordmark in the logo file on Nokia’s website.
#005AFF
Source: Nokia logo file
Source
The colors are the fills in Nokia’s own logo file, served on its website. The logo shown is that file.
#0066FF
BrandingMovistar
Movistar’s blue, #0066FF, is lighter and a little less saturated than this page’s code, leaning toward azure. Movistar’s site serves its logo in this color under the name movistarBlue.
#0066FF
Source: Movistar logo file
Source
The blue is the fill in the logo file served on Movistar’s website, a file the site requests in a color it calls movistarBlue. The logo shown is that file.
Logos belong to their owners and are shown unaltered, only to show where each palette comes from. Palettes are sampled in-house.
Questions
What color is neon blue?
A vivid, slightly purplish blue. The usual web code is #1F51FF (RGB 31, 81, 255).
What is the difference between neon blue and electric blue?
On most color sites, neon blue (#1F51FF) is a vivid deep blue and electric blue (#7DF9FF) a pale, glowing cyan. In everyday speech the names overlap, and in the xkcd survey people used them the other way around.
Do blue neon signs contain neon?
Not for their blue. Neon gas glows reddish orange, and only red signs hold pure neon. Blue comes from argon or added mercury, sometimes with fluorescent coatings.
Is neon blue the same as royal blue?
No. Royal blue (#4169E1) is softer and a little grayer. Neon blue (#1F51FF) is more saturated and electric.
What colors go with neon blue?
Hot pink and orange for energy, silver and white for a clean, modern look, and black or deep navy to make it glow.
Can neon blue carry white text?
Yes. White text on #1F51FF has a contrast ratio of about 5.7 to 1, enough for normal body text.