#164fdf
a balanced, electric blue · cool · closest name: royalblue
RGB
22, 79, 223
HSL
223°, 82%, 48%
CMYK
90, 65, 0, 13
Luminance
0.1109
Every format
| HEX | #164fdf |
| RGB | rgb(22, 79, 223) |
| HSL | hsl(223, 82%, 48%) |
| CMYK | cmyk(90%, 65%, 0%, 13%) |
| LAB | lab(39.7 38.4 -77.4) |
| LCH | lch(39.7 86.4 296.4) |
| OKLCH | oklch(0.495 0.226 263.6) |
Copy-ready code
/* CSS */
color: #164fdf;
background-color: #164fdf;
/* Tailwind (arbitrary) */
class="text-[#164fdf] bg-[#164fdf]"
/* SCSS */
$brand: #164fdf;
/* SwiftUI */
Color(red: 0.086, green: 0.310, blue: 0.875)
/* Android */
Color.parseColor("#164fdf")Accessibility — WCAG contrast
Aa
#164fdf on white: 6.53:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#164fdf on black: 3.22:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green31.0%
Blue87.5%
CMYK percentages
Cyan90.1%
Magenta64.6%
Yellow0.0%
Key (black)12.5%
Color previews
#164fdf text on a black background
contrast 3.22:1
Card sample
#164fdf text on a white background
contrast 6.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #164fdf;
Background color
Panel with #164fdf background
background-color: #164fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #164fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 79, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 79, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #164fdf; background: linear-gradient(135deg, #164fdf, #6316DF);