#1a7fec
a balanced, electric blue · cool · closest name: dodgerblue
RGB
26, 127, 236
HSL
211°, 85%, 51%
CMYK
89, 46, 0, 8
Luminance
0.2145
Every format
| HEX | #1a7fec |
| RGB | rgb(26, 127, 236) |
| HSL | hsl(211, 85%, 51%) |
| CMYK | cmyk(89%, 46%, 0%, 8%) |
| LAB | lab(53.4 12.9 -62.4) |
| LCH | lch(53.4 63.8 281.7) |
| OKLCH | oklch(0.602 0.186 255.0) |
Copy-ready code
/* CSS */
color: #1a7fec;
background-color: #1a7fec;
/* Tailwind (arbitrary) */
class="text-[#1a7fec] bg-[#1a7fec]"
/* SCSS */
$brand: #1a7fec;
/* SwiftUI */
Color(red: 0.102, green: 0.498, blue: 0.925)
/* Android */
Color.parseColor("#1a7fec")Accessibility — WCAG contrast
Aa
#1a7fec on white: 3.97:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#1a7fec on black: 5.29:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.2%
Green49.8%
Blue92.5%
CMYK percentages
Cyan89.0%
Magenta46.2%
Yellow0.0%
Key (black)7.5%
Color previews
#1a7fec text on a black background
contrast 5.29:1
Card sample
#1a7fec text on a white background
contrast 3.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1a7fec;
Background color
Panel with #1a7fec background
background-color: #1a7fec;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1a7fec;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(26, 127, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(26, 127, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1a7fec; background: linear-gradient(135deg, #1a7fec, #411AEC);