#166edf
a balanced, electric blue · cool · closest name: royalblue
RGB
22, 110, 223
HSL
214°, 82%, 48%
CMYK
90, 51, 0, 13
Luminance
0.1665
Every format
| HEX | #166edf |
| RGB | rgb(22, 110, 223) |
| HSL | hsl(214, 82%, 48%) |
| CMYK | cmyk(90%, 51%, 0%, 13%) |
| LAB | lab(47.8 18.4 -64.2) |
| LCH | lch(47.8 66.8 286.0) |
| OKLCH | oklch(0.556 0.190 257.7) |
Copy-ready code
/* CSS */
color: #166edf;
background-color: #166edf;
/* Tailwind (arbitrary) */
class="text-[#166edf] bg-[#166edf]"
/* SCSS */
$brand: #166edf;
/* SwiftUI */
Color(red: 0.086, green: 0.431, blue: 0.875)
/* Android */
Color.parseColor("#166edf")Accessibility — WCAG contrast
Aa
#166edf on white: 4.85:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#166edf on black: 4.33:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green43.1%
Blue87.5%
CMYK percentages
Cyan90.1%
Magenta50.7%
Yellow0.0%
Key (black)12.5%
Color previews
#166edf text on a black background
contrast 4.33:1
Card sample
#166edf text on a white background
contrast 4.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #166edf;
Background color
Panel with #166edf background
background-color: #166edf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #166edf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 110, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 110, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #166edf; background: linear-gradient(135deg, #166edf, #4416DF);