Neon Blue color: hex code #1F51FF
Neon Blue has the hex code #1F51FF. It is a vivid blue.
In the RGB color model it is made of 12.2% red, 31.8% green and 100% blue (31, 81, 255).
Its hue angle is 227°, with 100% saturation and 56% lightness. For print, the CMYK equivalent is 88% cyan, 68% magenta, 0% yellow and 0% black.
White text is the more readable choice on this background (contrast 5.71:1).
Neon Blue (#1F51FF) color codes
| HEX | #1F51FF | |
|---|---|---|
| RGB | rgb(31, 81, 255) | |
| RGB percent | rgb(12.2%, 31.8%, 100%) | |
| HSL | hsl(227, 100%, 56%) | |
| HSV / HSB | hsv(227, 88%, 100%) | |
| CMYK | cmyk(88%, 68%, 0%, 0%) | |
| CIE LAB | lab(43.35, 49.07, -89.48) | |
| CIE LCH | lch(43.35, 102.05, 298.74) | |
| CIE XYZ | xyz(21.551, 13.393, 96.038) | |
| Decimal | 2052607 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Neon Blue, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #1F51FF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.68:1 | Fail | Fail | Pass |
| Sample text | 5.71:1 | Pass | Fail | Pass |
| #1F51FF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.71:1 | Pass | Fail | Pass |
| Sample text | 3.68:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #1F51FF looks to people with the most common types of color vision deficiency.
#0071ffProtanopia
no red cones#005cfcDeuteranopia
no green cones#0082a2Tritanopia
no blue cones#666666Achromatopsia
no color vision
CSS examples
.background { background-color: #1f51ff; }
.text { color: #1f51ff; }
.border { border: 2px solid #1f51ff; }
.transparent { background-color: rgb(31 81 255 / 50%); }
.gradient { background: linear-gradient(to right, #1f51ff, #5d1fff); }
Similar colors
#0247feMagic Ink#0055eeOpulent Blue#0044ffRare Blue#4b57dbWarm Blue#0055ddFrosted Blueberries#5260e1Arcane Brew#003affC64 Blue#0339f8Vibrant Blue
See #1F51FF on its hex code page
Questions
- What color is #1F51FF?
- #1F51FF is a vivid blue known as Neon Blue. It belongs to the blue family of colors.
- What is the RGB value of Neon Blue?
- The RGB value is 31, 81, 255: 31 red, 81 green and 255 blue on a 0 to 255 scale.
- What is the complementary color of Neon Blue?
- The complementary color is #FFCD1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F51FF?
- White text. Black text has a contrast ratio of 3.68:1 and white text 5.71:1. WCAG asks for at least 4.5:1 for normal text.