HEX atlas value

#1F51FF

#1F51FF is a cool blue HEX color close to Neon Blue. According to Colors Encyclopedia, it converts to RGB 31, 81, 255, HSL 227, 100%, 56%, has luminance 0.134, and belongs to the vibrant group.

#1F51FF Sample readable text
HEX #1F51FF
RGB rgb(31, 81, 255)
HSL hsl(227 100% 56%)
CMYK cmyk(88, 68, 0, 0)
Luminance 0.134
Contrast Black 3.68:1White 5.71:1

CSS

--color-1f51ff: #1F51FF;
.background-1f51ff { background-color: #1F51FF; }
.text-1f51ff { color: #1F51FF; }

Machine-readable data

Machine-Readable HEX Data (JSON)

Structured HEX color data for conversion, WCAG checks, CSS generation, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.134
Black text3.68:1AA Fail
White text5.71:1AA Pass
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{"hex":"#1F51FF","rgb":[31,81,255],"hsl":[227,100,56],"cmyk":[88,68,0,0],"luminance":0.134,"contrast":{"black":3.68,"white":5.71}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":3.68,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":5.71,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#FFCE1F","hex":"#FFCE1F","family":"yellow","bestTextColor":"#000000","contrastBlack":14.1,"contrastWhite":1.49,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#002AC2","hex":"#002AC2","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":2.11,"contrastWhite":9.95,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#1FBFFF","hex":"#1FBFFF","family":"blue","bestTextColor":"#000000","contrastBlack":9.95,"contrastWhite":2.11,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#7A97FF","hex":"#7A97FF","family":"blue","bestTextColor":"#000000","contrastBlack":7.7,"contrastWhite":2.73,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000"]},{"name":"#5E1FFF","hex":"#5E1FFF","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":3.12,"contrastWhite":6.74,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":[]}]
AI context
{"semanticGroups":["cool blue","vibrant","vibrant blue","Neon Blue adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","high-energy accents","calm digital interfaces"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/1f51ff.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/neon-blue.json","https://www.colorsencyclopedia.com/api/colors/royal-blue.json","https://www.colorsencyclopedia.com/api/colors/dodger-blue.json"]}
Harmonies
{"complementary":"#FFCE1F","analogous":["#1FBFFF","#5E1FFF"],"triadic":["#FF1F4F","#4FFF1F"],"tetradic":["#FF1FBF","#FFCE1F","#1FFF5E"],"splitComplementary":["#FF5E1F","#BFFF1F"],"monochromatic":["#7A97FF","#1F51FF","#002AC2"]}
Variants
{"light":"#7A97FF","dark":"#002AC2","saturated":"#1F4FFF","desaturated":"#375DE6","pastel":"#A5B7F8","neon":"#476FFF"}
Nearest named colors
[{"slug":"neon-blue","name":"Neon Blue","hex":"#1F51FF","distance":0},{"slug":"royal-blue","name":"Royal Blue","hex":"#4169E1","distance":51.30302135352264},{"slug":"dodger-blue","name":"Dodger Blue","hex":"#1E90FF","distance":63.00793600809346},{"slug":"anodized-blue","name":"Anodized Blue","hex":"#0066CC","distance":63.26926584053272},{"slug":"denim","name":"Denim","hex":"#1560BD","distance":68.4178339323893}]

HEX meaning and use

About #1F51FF

#1F51FF is classified as a cool blue value with vibrant visual character. #1F51FF is visually closest to Neon Blue, a named blue color with HEX #1F51FF.

The RGB channels are 31, 81, and 255, with blue carrying the strongest channel weight. In HSL, the hue is 227deg with 100% saturation and 56% lightness, so this page treats it as a high-saturation, mid-lightness atlas color rather than a generic swatch.

According to Colors Encyclopedia, this HEX value works best for color conversion, WCAG contrast checks, CSS color tokens, and high-energy accents. Its luminance is 0.134, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 0.00, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text3.68:1AA Fail
White text5.71:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

Use these pairings when #1F51FF needs readable text, badges, interface states, or nearby accessible alternatives.

Black text#0000003.68:1 · Fail
White text#FFFFFF5.71:1 · AA

Accessible Alternatives

#FFCE1F#000000 text · best 14.1:1#FFCE1F
#002AC2#FFFFFF text · best 9.95:1#002AC2
#1FBFFF#000000 text · best 9.95:1#1FBFFF
#7A97FF#000000 text · best 7.7:1#7A97FF
#5E1FFF#FFFFFF text · best 6.74:1#5E1FFF

Generated Palette

Neon Blue#1F51FF
#FFCE1F#FFCE1F
#1FBFFF#1FBFFF
#5E1FFF#5E1FFF
#7A97FF#7A97FF
#002AC2#002AC2

Color Harmonies

#FFCE1F#FFCE1F
#1FBFFF#1FBFFF
#5E1FFF#5E1FFF
#FF1F4F#FF1F4F
#4FFF1F#4FFF1F

Variants

#7A97FF#7A97FF
#002AC2#002AC2
#1F4FFF#1F4FFF
#375DE6#375DE6
#A5B7F8#A5B7F8
#476FFF#476FFF

Nearest Named Colors