#1b7fff
a balanced, electric blue · cool · closest name: royalblue
RGB
27, 127, 255
HSL
214°, 100%, 55%
CMYK
89, 50, 0, 0
Luminance
0.2263
Every format
| HEX | #1b7fff |
| RGB | rgb(27, 127, 255) |
| HSL | hsl(214, 100%, 55%) |
| CMYK | cmyk(89%, 50%, 0%, 0%) |
| LAB | lab(54.7 20.2 -71.0) |
| LCH | lch(54.7 73.8 285.9) |
| OKLCH | oklch(0.616 0.209 257.7) |
Copy-ready code
/* CSS */
color: #1b7fff;
background-color: #1b7fff;
/* Tailwind (arbitrary) */
class="text-[#1b7fff] bg-[#1b7fff]"
/* SCSS */
$brand: #1b7fff;
/* SwiftUI */
Color(red: 0.106, green: 0.498, blue: 1.000)
/* Android */
Color.parseColor("#1b7fff")Accessibility — WCAG contrast
Aa
#1b7fff on white: 3.80:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#1b7fff on black: 5.53:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.6%
Green49.8%
Blue100.0%
CMYK percentages
Cyan89.4%
Magenta50.2%
Yellow0.0%
Key (black)0.0%
Color previews
#1b7fff text on a black background
contrast 5.53:1
Card sample
#1b7fff text on a white background
contrast 3.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1b7fff;
Background color
Panel with #1b7fff background
background-color: #1b7fff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1b7fff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(27, 127, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 127, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b7fff; background: linear-gradient(135deg, #1b7fff, #4F1BFF);