#176fdf
a balanced, electric blue · cool · closest name: royalblue
RGB
23, 111, 223
HSL
214°, 81%, 48%
CMYK
90, 50, 0, 13
Luminance
0.1688
Every format
| HEX | #176fdf |
| RGB | rgb(23, 111, 223) |
| HSL | hsl(214, 81%, 48%) |
| CMYK | cmyk(90%, 50%, 0%, 13%) |
| LAB | lab(48.1 17.8 -63.8) |
| LCH | lch(48.1 66.2 285.6) |
| OKLCH | oklch(0.558 0.188 257.5) |
Copy-ready code
/* CSS */
color: #176fdf;
background-color: #176fdf;
/* Tailwind (arbitrary) */
class="text-[#176fdf] bg-[#176fdf]"
/* SCSS */
$brand: #176fdf;
/* SwiftUI */
Color(red: 0.090, green: 0.435, blue: 0.875)
/* Android */
Color.parseColor("#176fdf")Accessibility — WCAG contrast
Aa
#176fdf on white: 4.80:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#176fdf on black: 4.38:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green43.5%
Blue87.5%
CMYK percentages
Cyan89.7%
Magenta50.2%
Yellow0.0%
Key (black)12.5%
Color previews
#176fdf text on a black background
contrast 4.38:1
Card sample
#176fdf text on a white background
contrast 4.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #176fdf;
Background color
Panel with #176fdf background
background-color: #176fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #176fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 111, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 111, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #176fdf; background: linear-gradient(135deg, #176fdf, #4417DF);