#166ccf
a dark, electric blue · cool · closest name: dodgerblue
RGB
22, 108, 207
HSL
212°, 81%, 45%
CMYK
89, 48, 0, 19
Luminance
0.1540
Every format
| HEX | #166ccf |
| RGB | rgb(22, 108, 207) |
| HSL | hsl(212, 81%, 45%) |
| CMYK | cmyk(89%, 48%, 0%, 19%) |
| LAB | lab(46.2 13.4 -57.8) |
| LCH | lch(46.2 59.3 283.1) |
| OKLCH | oklch(0.540 0.171 256.0) |
Copy-ready code
/* CSS */
color: #166ccf;
background-color: #166ccf;
/* Tailwind (arbitrary) */
class="text-[#166ccf] bg-[#166ccf]"
/* SCSS */
$brand: #166ccf;
/* SwiftUI */
Color(red: 0.086, green: 0.424, blue: 0.812)
/* Android */
Color.parseColor("#166ccf")Accessibility — WCAG contrast
Aa
#166ccf on white: 5.15:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#166ccf on black: 4.08:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green42.4%
Blue81.2%
CMYK percentages
Cyan89.4%
Magenta47.8%
Yellow0.0%
Key (black)18.8%
Color previews
#166ccf text on a black background
contrast 4.08:1
Card sample
#166ccf text on a white background
contrast 5.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #166ccf;
Background color
Panel with #166ccf background
background-color: #166ccf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #166ccf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 108, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 108, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #166ccf; background: linear-gradient(135deg, #166ccf, #3B16CF);