#166fff
a balanced, electric blue · cool · closest name: royalblue
RGB
22, 111, 255
HSL
217°, 100%, 54%
CMYK
91, 57, 0, 0
Luminance
0.1876
Every format
| HEX | #166fff |
| RGB | rgb(22, 111, 255) |
| HSL | hsl(217, 100%, 54%) |
| CMYK | cmyk(91%, 57%, 0%, 0%) |
| LAB | lab(50.4 30.1 -77.9) |
| LCH | lch(50.4 83.5 291.1) |
| OKLCH | oklch(0.583 0.229 260.5) |
Copy-ready code
/* CSS */
color: #166fff;
background-color: #166fff;
/* Tailwind (arbitrary) */
class="text-[#166fff] bg-[#166fff]"
/* SCSS */
$brand: #166fff;
/* SwiftUI */
Color(red: 0.086, green: 0.435, blue: 1.000)
/* Android */
Color.parseColor("#166fff")Accessibility — WCAG contrast
Aa
#166fff on white: 4.42:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#166fff on black: 4.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green43.5%
Blue100.0%
CMYK percentages
Cyan91.4%
Magenta56.5%
Yellow0.0%
Key (black)0.0%
Color previews
#166fff text on a black background
contrast 4.75:1
Card sample
#166fff text on a white background
contrast 4.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #166fff;
Background color
Panel with #166fff background
background-color: #166fff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #166fff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 111, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 111, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #166fff; background: linear-gradient(135deg, #166fff, #5816FF);